WebControlAdapter.IsEnabled Property

Definition

Gets a value indicating whether the Web control and all its parent controls are enabled.

protected:
 property bool IsEnabled { bool get(); };
protected bool IsEnabled { get; }
member this.IsEnabled : bool
Protected ReadOnly Property IsEnabled As Boolean

Property Value

true if the associated WebControl and all its parent controls are enabled; otherwise, false.

Remarks

The IsEnabled property provides access for the adapter and any of its derived classes to the WebControl.IsEnabled property. WebControl.IsEnabled scans the hierarchy of parent controls and returns true only if the Web control and all its parents are enabled.

Applies to

See also