Class ListEditor<T>
- Namespace
- Dynamicweb.Content.Items.Editors
- Assembly
- Dynamicweb.dll
Represents a list editor.
Type Parameters
T
Item value type.
- Inheritance
-
ListEditor<T>
- Implements
- Derived
- Inherited Members
Constructors
ListEditor()
Initializes a new instance of an object.
Fields
MaxIconColumnsPerRow
Field Value
Properties
DataType
Gets the data type for this editor.
Property Value
ItemTemplate
Gets or sets the item template
Property Value
Items
Gets or sets the editor items.
Property Value
Mode
Gets the list mode.
Property Value
SourceItems
Gets or sets the list items.
Property Value
Methods
ConvertValueToList(object?)
Parameters
value
object
Returns
GetListEditorViewModel(object?, ItemField)
Parameters
Returns
GetViewModel(object?, ItemField, bool)
Parameters
Returns
GetViewModelValue(object?, ItemField)
Gets the model to use when rendering list viewmodels with included options- List
Parameters
Returns
IsItemSelected(IEnumerable<object>, FieldOptionMetadata)
Parameters
selectedValues
IEnumerable<object>option
FieldOption Metadata
Returns
RenderValue(EditorRenderingContext)
Renders value.
Parameters
context
EditorRendering Context Editor rendering context.
StringifyValue(object?)
Returns string representation of editor value.
Parameters
value
objectEditor value.