OptionElement Selected Property C# API
Gets or sets a value that indicates whether this OptionElement has been selected.

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

public bool Selected { get; set; }

Field Value

true if this element has the "selected" attribute; otherwise, false.

An OptionElement is selected if it has a "selected" attribute, i.e. if HasAttribute("selected") returns true.

Selected = true is equivalent to SetAttribute("selected").

Selected = false is equivalent to RemoveAttribute("selected").

See Also