ArcGIS Explorer Component Help |
Button..::.Enabled Property |
Button Class See Also |
Gets or sets the enabled state of the Button.
Namespace:
ESRI.ArcGISExplorer.ApplicationAssembly: ESRI.ArcGISExplorer.Application (in ESRI.ArcGISExplorer.Application.dll) Version: 2.0.0.1500 (2.0.0.1500)
Syntax
Field Value
trueTruetruetrue (True in Visual Basic) if the Button is enabled on the Ribbon; otherwise, falseFalsefalsefalse (False in Visual Basic).Remarks
The enabled state of a Button can be set programmatically; this is commonly done from within the overridden OnUpdate()()() method of the Button itself.
Although you can set the enabled state of the Button programmatically, an alternative method of enabling and disabling controls is to use application conditions; this often provides sufficient control and is more efficient.