Class EditorBase
- Namespace
- Dynamicweb.CoreUI.Editors
- Assembly
- Dynamicweb.CoreUI.dll
Base class for all editors taking input from the UI To be added to a column
public abstract class EditorBase : UiComponentBase
- Inheritance
-
EditorBase
- Derived
-
EditorBase<T>
- Inherited Members
- Extension Methods
Properties
Explanation
public TranslatableString Explanation { get; set; }
Property Value
Hint
public TranslatableString Hint { get; set; }
Property Value
ID
public string ID { get; }
Property Value
InheritedValueDiffers
public bool? InheritedValueDiffers { get; }
Property Value
- bool?
Label
public TranslatableString Label { get; set; }
Property Value
Name
public string Name { get; set; }
Property Value
Readonly
public bool? Readonly { get; set; }
Property Value
- bool?
ReloadOnChange
public bool ReloadOnChange { get; set; }
Property Value
Required
public bool? Required { get; }
Property Value
- bool?
ValidationMessage
public string? ValidationMessage { get; }
Property Value
Validations
public ICollection<ValidationDefinition> Validations { get; }
Property Value
Value
public object? Value { get; set; }
Property Value
ValueCanBeInherited
public bool ValueCanBeInherited { get; set; }
Property Value
ValueInherited
public object? ValueInherited { get; set; }
Property Value
ValueIsInherited
public bool ValueIsInherited { get; }
Property Value
Methods
Convert<T>(EditorBase)
public static T Convert<T>(EditorBase editor) where T : EditorBase, new()
Parameters
editor
EditorBase
Returns
- T
Type Parameters
T
FindEditor<T>()
public static EditorBase<T> FindEditor<T>()
Returns
- EditorBase<T>
Type Parameters
T
MakeEditor(Type)
public static EditorBase MakeEditor(Type valueType)
Parameters
valueType
Type
Returns
MakeEditor<T>()
public static EditorBase MakeEditor<T>()
Returns
Type Parameters
T