ArcGIS Explorer Component Help |
Gallery..::.Enabled Property |
Gallery Class See Also |
Gets or sets the enabled state of the Gallery.
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 Gallery is enabled on the Ribbon; otherwise, falseFalsefalsefalse (False in Visual Basic).Remarks
The enabled state of a Gallery 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 Gallery programmatically, an alternative method of enabling and disabling controls is to use application conditions; this often provides sufficient control and is more efficient.