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: 9.5.8.37 (1.0.0.0)
Syntax

public class SelectElement : HtmlElement
Remarks

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.

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