OptionElement Class

OptionElement class

The OptionElement represents a wrapper that is associated with the HTMLOptionElement

public class OptionElement : FormElement<HTMLOptionElement>

Properties

NameDescription
[getDisabled]
[setDisabled] The control is unavailable in this context. See the disabled attribute definition in HTML 4.01.
getElementType Gets the type of the element.
getHtmlElement
[getId]
[setId] Gets or sets the identifier of the form element.
[getLabel]
[setLabel] Option label for use in hierarchical menus. See the label attribute definition in HTML 4.01.
[getName]
[setName] Gets or sets the name of the form element.
[getSelected]
[setSelected] Represents the current state of the corresponding form control, in an interactive user agent. Changing this attribute changes the state of the form control, but does not change the value of the HTML selected attribute of the element.
[getText]
[setText] This attribute represents the text content of this node and its descendants.
[getValue]
[setValue] The current form control value. See the value attribute definition in HTML 4.01.

See Also