Table of Contents

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

Type

EnablePresets

[AddInParameter("Enable presets")]
[AddInParameterEditor(typeof(YesNoParameterEditor), "inputClass=std editor-parameter")]
public bool EnablePresets { get; set; }

Property Value

bool

IsTab

public virtual bool IsTab { get; set; }

Property Value

bool

ItemType

[AddInParameter("Item type")]
[AddInParameterEditor(typeof(ItemListParameterEditor), "inputClass=std editor-parameter; StructureType=All; AllowEditParameterOptions=False")]
public string ItemType { get; set; }

Property Value

string

Methods

GetViewModelValue(object)

Gets the value as an instance of ItemViewModel

public override object GetViewModelValue(object value)

Parameters

value object

Returns

object

RenderValue(EditorRenderingContext)

Renders value.

public override void RenderValue(EditorRenderingContext context)

Parameters

context EditorRenderingContext

Editor rendering context.

To top