Gets or sets the enabled state of the ComboBox.

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 ComboBox is enabled on the Ribbon; otherwise, falseFalsefalsefalse (False in Visual Basic).

Remarks

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

Although you can set the enabled state of the ComboBox 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