Class FormDefaultAccessibilityProperties
The FormDefaultAccessibilityProperties class is used to create a specific forms related instance of the DefaultAccessibilityProperties class.
public class FormDefaultAccessibilityProperties : DefaultAccessibilityProperties
- Inheritance
-
FormDefaultAccessibilityProperties
- Inherited Members
Constructors
FormDefaultAccessibilityProperties(string)
Instantiates a new FormDefaultAccessibilityProperties instance based on structure element role.
public FormDefaultAccessibilityProperties(string formFieldType)
Parameters
formFieldType
stringthe type of the formField
Fields
FORM_FIELD_CHECK
Represents the role: Checkbox.
public const string FORM_FIELD_CHECK = "cb"
Field Value
FORM_FIELD_LIST_BOX
Represents the role: ListBox.
public const string FORM_FIELD_LIST_BOX = "lb"
Field Value
FORM_FIELD_PUSH_BUTTON
Represents the role: PushButton.
public const string FORM_FIELD_PUSH_BUTTON = "pb"
Field Value
FORM_FIELD_RADIO
Represents the role: radio.
public const string FORM_FIELD_RADIO = "rb"
Field Value
FORM_FIELD_TEXT
Represents the role: Text.
public const string FORM_FIELD_TEXT = "tv"
Field Value
Remarks
Represents the role: Text. This can be passwords, text areas, etc.
Methods
UpdateCheckedValue(IPropertyContainer)
Updates the checked value of the form field based on the FORM_FIELD_CHECKED property.
public virtual void UpdateCheckedValue(IPropertyContainer element)
Parameters
element
IPropertyContainerThe element which contains a FORM_FIELD_CHECKED property.
Remarks
Updates the checked value of the form field based on the FORM_FIELD_CHECKED property. If no such property is found, the checked value is set to "off".