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
DataType
Gets the data type for this editor.
public override Type DataType { get; }
Property Value
InputType
[AddInParameter("Type")]
[AddInParameterEditor(typeof(DropDownParameterEditor), "inputClass=std editor-parameter")]
public string InputType { get; set; }
Property Value
Max
[AddInParameter("Max")]
[AddInParameterEditor(typeof(TextParameterEditor), "inputClass=std editor-parameter")]
public string Max { get; set; }
Property Value
Min
[AddInParameter("Min")]
[AddInParameterEditor(typeof(TextParameterEditor), "inputClass=std editor-parameter")]
public string Min { get; set; }
Property Value
Pattern
[AddInParameter("Pattern")]
[AddInParameterEditor(typeof(TextParameterEditor), "inputClass=std editor-parameter")]
public string Pattern { get; set; }
Property Value
Placeholder
[AddInParameter("Placeholder")]
[AddInParameterEditor(typeof(TextParameterEditor), "inputClass=std editor-parameter")]
public string Placeholder { get; set; }
Property Value
Required
[AddInParameter("Required")]
[AddInParameterEditor(typeof(YesNoParameterEditor), "inputClass=std editor-parameter")]
public bool Required { get; set; }
Property Value
Size
[AddInParameter("Size")]
[AddInParameterEditor(typeof(TextParameterEditor), "inputClass=std editor-parameter")]
public string Size { get; set; }
Property Value
Step
[AddInParameter("Step")]
[AddInParameterEditor(typeof(TextParameterEditor), "inputClass=std editor-parameter")]
public string Step { get; set; }
Property Value
Type
Gets or sets id of configuration settings.
[Obsolete("Use InputType instead")]
public string Type { get; set; }
Property Value
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
RenderValue(EditorRenderingContext)
Renders value.
public override void RenderValue(EditorRenderingContext context)
Parameters
context
EditorRenderingContext- Editor rendering context.