Represents an HTML option element within an HTML form.
Inheritance Hierarchy
Facilita.Web HtmlElement
Facilita.Web OptionElement
Namespace: Facilita.Web
Assembly: clrWebBrowser (in clrWebBrowser.dll) Version: 9.5.7.98 (1.0.0.0)
Syntax
public class OptionElement : HtmlElement
Remarks
An OptionElement is used to define an available option in a drop-down list represented by a SelectElement.
e.g.
<select name="drink">
<option value="lemonade">Lemonade</option>
<option value="coke">Coke</option>
<option value="pepsi">Pepsi</option>
<option value="tango">Tango</option>
</select>
When the containing Form is sent to the web server, a name/value pair will be sent which uses the name of the SelectElement and the value of the currently selected OptionElement.
See Also