WebControlAdapter.IsEnabled Property

 

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

Namespace:   System.Web.UI.WebControls.Adapters
Assembly:  System.Web (in System.Web.dll)

member IsEnabled : bool with get

Property Value

Type: System.Boolean

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

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.

.NET Framework
Available since 2.0
Return to top
Show: