Class EditorExtensions
- Namespace
- Dynamicweb.CoreUI.Editors
- Assembly
- Dynamicweb.CoreUI.dll
public static class EditorExtensions
- Inheritance
-
EditorExtensions
- Inherited Members
-
Methods
AddCheckboxEditor(Group, string, string, object, string, string, bool)
public static void AddCheckboxEditor(this Group group, string label, string name, object value, string hint = "", string explanation = "", bool readOnly = false)
Parameters
group
Group
label
string
name
string
value
object
hint
string
explanation
string
readOnly
bool
AddCheckboxListEditor(Group, string)
public static EditorBase AddCheckboxListEditor(this Group group, string label)
Parameters
group
Group
label
string
Returns
- EditorBase
AddDateEditor(Group, string, string, Icon?, string, string, string, bool)
public static void AddDateEditor(this Group group, string label, string prepend = "", Icon? prependicon = null, string append = "", string hint = "", string explanation = "", bool readOnly = false)
Parameters
group
Group
label
string
prepend
string
prependicon
Icon
append
string
hint
string
explanation
string
readOnly
bool
AddNumberEditor(Group, string, string, Icon?, string, string, string, bool)
public static void AddNumberEditor(this Group group, string label, string prepend = "", Icon? prependicon = null, string append = "", string hint = "", string explanation = "", bool readOnly = false)
Parameters
group
Group
label
string
prepend
string
prependicon
Icon
append
string
hint
string
explanation
string
readOnly
bool
public static void AddRadioButtonListEditor(this Group group, string label)
Parameters
group
Group
label
string
AddSelectListEditor(Group, string)
public static void AddSelectListEditor(this Group group, string label)
Parameters
group
Group
label
string
AddSelectListEditor(Group, string, bool)
public static void AddSelectListEditor(this Group group, string label, bool readOnly)
Parameters
group
Group
label
string
readOnly
bool
AddSwitchEditor(Group, string, string, object, string, string, bool)
public static void AddSwitchEditor(this Group group, string label, string name, object value, string hint = "", string explanation = "", bool readOnly = false)
Parameters
group
Group
label
string
name
string
value
object
hint
string
explanation
string
readOnly
bool
AddTextAreaEditor(Group, string, string, string, bool)
public static void AddTextAreaEditor(this Group group, string label, string explanation = "", string hint = "", bool readOnly = false)
Parameters
group
Group
label
string
explanation
string
hint
string
readOnly
bool
AddTextEditor(Group, string, string, string, string, string, string, bool)
public static EditorBase AddTextEditor(this Group group, string label, string prepend = "", string append = "", string hint = "", string exampleValue = "", string explanation = "", bool readOnly = false)
Parameters
group
Group
label
string
prepend
string
append
string
hint
string
exampleValue
string
explanation
string
readOnly
bool
Returns
- EditorBase
WithMultiselect<T>(T)
public static T WithMultiselect<T>(this T editor) where T : Selector
Parameters
editor
T
Returns
- T
Type Parameters
T
WithReloadOnChange<T>(T)
public static T WithReloadOnChange<T>(this T editor) where T : EditorBase
Parameters
editor
T
Returns
- T
Type Parameters
T
WithValidation<T>(T, ValidationDefinition)
public static T WithValidation<T>(this T editor, ValidationDefinition validationDefinition) where T : EditorBase
Parameters
editor
T
validationDefinition
ValidationDefinition
Returns
- T
Type Parameters
T