Class FormField<T>
Implementation of the AbstractElement<T> class for form fields.
public abstract class FormField<T> : AbstractElement<T>, IFormField, IBlockElement, IAbstractElement, IElement, IPropertyContainer, IAccessibleElement where T : IFormField
Type Parameters
T
the generic type of the form field (e.g. input field, button, text area)
- Inheritance
-
FormField<T>
- Implements
- Derived
- Inherited Members
Fields
tagProperties
The tag properties.
protected DefaultAccessibilityProperties tagProperties
Field Value
Methods
GetAccessibilityProperties()
public abstract AccessibilityProperties GetAccessibilityProperties()
Returns
GetDefaultProperty<T1>(int)
public override T1 GetDefaultProperty<T1>(int property)
Parameters
property
int
Returns
- T1
Type Parameters
T1
GetId()
public virtual string GetId()
Returns
SetHeight(float)
public virtual IFormField SetHeight(float height)
Parameters
height
float
Returns
SetInteractive(bool)
public virtual IFormField SetInteractive(bool interactive)
Parameters
interactive
bool
Returns
SetSize(float)
Sets the form field's width and height.
public virtual T SetSize(float size)
Parameters
size
floatform field's width and height.
Returns
- T
this same FormField<T> element.
SetValue(string)
public virtual IFormField SetValue(string value)
Parameters
value
string
Returns
SetWidth(float)
public virtual IFormField SetWidth(float width)
Parameters
width
float