Table of Contents

Property Enabled

Namespace
Alternet.UI
Assembly
Alternet.UI.Common.dll

Enabled

Gets or sets a value indicating whether the control can respond to user interaction.

bool Enabled { get; set; }

Property Value

bool

true if the control can respond to user interaction; otherwise, false. The default is true.

Remarks

With the Enabled property, you can enable or disable controls at run time. For example, you can disable controls that do not apply to the current state of the application. You can also disable a control to restrict its use. For example, a button can be disabled to prevent the user from clicking it.