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

public bool Selected { get; set; }

Field Value

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

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