HtmlElement Disabled Property C# API
Gets or sets a value that indicates whether this HTML element has been disabled.

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

public bool Disabled { get; set; }

Field Value

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

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

Disabled = true is equivalent to SetAttribute("disabled").

Disabled = false is equivalent to RemoveAttribute("disabled").

See Also