Click or drag to resize
HtmlOptionItem Properties

The HtmlOptionItem type exposes the following members.

Properties
  NameDescription
Public propertyDisabled
Gets or sets a value that indicates whether this HtmlOptionItem is disabled. This property is typically rendered as a
disabled="disabled"
attribute in the
<option>
HTML element.
Public propertySelected
Gets or sets a value that indicates whether this HtmlOptionItem is selected. This property is typically rendered as a
selected="selected"
attribute in the
<option>
HTML element.
Public propertyText
Gets or sets a value that indicates the display text of this HtmlOptionItem. This property is typically rendered as the inner HTML in the
<option>
HTML element.
Public propertyValue
Gets or sets a value that indicates the value of this HtmlOptionItem. This property is typically rendered as a
value="..."
attribute in the
<option>
HTML element.
Top
See Also