Class ItemTypeEditor
- Namespace
- Dynamicweb.Content.Items.Editors
- Assembly
- Dynamicweb.dll
Represents a file editor.
[Editor("Item type")]
public class ItemTypeEditor : Editor
- Inheritance
-
ItemTypeEditor
- Inherited Members
Properties
DataType
Gets the data type for this editor.
public override Type DataType { get; }
Property Value
EnablePresets
[AddInParameter("Enable presets")]
[AddInParameterEditor(typeof(YesNoParameterEditor), "inputClass=std editor-parameter")]
public bool EnablePresets { get; set; }
Property Value
IsTab
public virtual bool IsTab { get; set; }
Property Value
ItemType
[AddInParameter("Item type")]
[AddInParameterEditor(typeof(ItemListParameterEditor), "inputClass=std editor-parameter; StructureType=All; AllowEditParameterOptions=False")]
public string? ItemType { get; set; }
Property Value
Methods
GetViewModelValue(object?)
Gets the value as an instance of ItemViewModel
public override object? GetViewModelValue(object? value)
Parameters
valueobject
Returns
RenderValue(EditorRenderingContext)
Renders value.
public override void RenderValue(EditorRenderingContext context)
Parameters
contextEditorRenderingContextEditor rendering context.