ClassHtmlInputControl
Base class for all input controls
Definition
Namespace:ArtOfTest.WebAii.Controls.HtmlControls
Assembly:ArtOfTest.WebAii.dll
Syntax:
public class HtmlInputControl : HtmlControl
Inheritance: objectControlHtmlControlHtmlInputControl
Derived Classes:
Inherited Members
Constructors
HtmlInputControl(Element)
Create a new control.
Declaration
public HtmlInputControl(Element element)
Parameters
element
The base element.
Properties
Autofocus
Gets whether this element is the autofocus input for the form containing it
Name
Gets the name attribute for control
Placeholder
Gets the placeholder text for the control
Required
Gets whether this input must be filled in for the form to validate
Type
Input control type
Methods
AssignElement(Element)
Assign element and initialize this control.
Declaration
public override void AssignElement(Element e)
Parameters
e
The base element.
Overrides
GetControlType(InputElementType)
Determines the framework control type according to the input element type.
Declaration
public static Type GetControlType(InputElementType type)
Parameters
type
The input element type to look for.
Returns
The corresponding framework control type.
ValidateType(InputElementType)
Validates the type of the input control.
Declaration
protected void ValidateType(InputElementType inputElementType)
Parameters
inputElementType
InputElementType Enum