SelectElement ClassC# API
Represents an HTML select element within an HTML form.
Inheritance Hierarchy

System Object
  Facilita.Web HtmlElement
    Facilita.Web SelectElement

Namespace: Facilita.Web
Assembly: clrWebBrowser (in clrWebBrowser.dll) Version: (

public class SelectElement : HtmlElement

An HTML element is everything from the start tag to the end tag.

A SelectElement is used to create a drop-down list. OptionElement objects are used to define the available options in the list.


<select name="drink">
<option value="lemonade">Lemonade</option>
<option value="coke">Coke</option>
<option value="pepsi">Pepsi</option>
<option value="tango">Tango</option>

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