Table of Contents

Class InputHTML5Editor

Namespace
Dynamicweb.Content.Items.Editors
Assembly
Dynamicweb.dll
Represents a HTML 5 input editor.
[Editor("Input (HTML 5)")]
public class InputHTML5Editor : Editor, IDropDownOptions
Inheritance
InputHTML5Editor
Implements
Inherited Members

Constructors

InputHTML5Editor()

Initializes a new instance of an object.
public InputHTML5Editor()

Properties

Autocomplete

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

Property Value

bool

DataType

Gets the data type for this editor.
public override Type DataType { get; }

Property Value

Type

InputType

[AddInParameter("Type")]
[AddInParameterEditor(typeof(DropDownParameterEditor), "inputClass=std editor-parameter")]
public string InputType { get; set; }

Property Value

string

Max

[AddInParameter("Max")]
[AddInParameterEditor(typeof(TextParameterEditor), "inputClass=std editor-parameter")]
public string Max { get; set; }

Property Value

string

Min

[AddInParameter("Min")]
[AddInParameterEditor(typeof(TextParameterEditor), "inputClass=std editor-parameter")]
public string Min { get; set; }

Property Value

string

Pattern

[AddInParameter("Pattern")]
[AddInParameterEditor(typeof(TextParameterEditor), "inputClass=std editor-parameter")]
public string Pattern { get; set; }

Property Value

string

Placeholder

[AddInParameter("Placeholder")]
[AddInParameterEditor(typeof(TextParameterEditor), "inputClass=std editor-parameter")]
public string Placeholder { get; set; }

Property Value

string

Required

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

Property Value

bool

Size

[AddInParameter("Size")]
[AddInParameterEditor(typeof(TextParameterEditor), "inputClass=std editor-parameter")]
public string Size { get; set; }

Property Value

string

Step

[AddInParameter("Step")]
[AddInParameterEditor(typeof(TextParameterEditor), "inputClass=std editor-parameter")]
public string Step { get; set; }

Property Value

string

Type

Gets or sets id of configuration settings.
[Obsolete("Use InputType instead")]
public string Type { get; set; }

Property Value

string

Methods

BeginEdit(EditorContext)

Enables the editor to populate its UI to the client and initiate the editing process.
[Obsolete("Do not use")]
public override void BeginEdit(EditorContext context)

Parameters

context EditorContext
Editor context.

EndEdit()

Returns the edited value.
[Obsolete("Do not use")]
public override object EndEdit()

Returns

object
The edited value.

GetOptions(string)

Get options for editors with multiple values
public Hashtable GetOptions(string dropdownName)

Parameters

dropdownName string

Returns

Hashtable

RenderValue(EditorRenderingContext)

Renders value.
public override void RenderValue(EditorRenderingContext context)

Parameters

context EditorRenderingContext
Editor rendering context.
To top