Gets or sets the enabled state of the CheckBox.

Namespace:  ESRI.ArcGISExplorer.Application

Assembly:  ESRI.ArcGISExplorer.Application (in ESRI.ArcGISExplorer.Application.dll) Version: 2.0.0.1500 (2.0.0.1500)

Syntax

C#
public bool Enabled { get; set; }
Visual Basic (Declaration)
Public Property Enabled As Boolean

Field Value

trueTruetruetrue (True in Visual Basic) if the CheckBox is enabled on the Ribbon; otherwise, falseFalsefalsefalse (False in Visual Basic).

Remarks

The enabled state of a CheckBox can be set programmatically; this is commonly done from within the overridden OnUpdate()()() method of the CheckBox itself.

Although you can set the enabled state of the CheckBox programmatically, an alternative method of enabling and disabling controls is to use application conditions; this often provides sufficient control and is more efficient.

See Also