This document is archived and information here might be outdated. Recommended version. |
ArcObjects namespaces > Controls > ESRI ArcGIS Controls > Interfaces > IG > IGlobeControlDefault Interface > IGlobeControlDefault.Enabled Property (ArcObjects .NET 10.4 SDK) |
Indicates whether the GlobeControl can respond to user generated events.
[Visual Basic .NET] Public Property Enabled As Boolean
[C#] public bool Enabled {get; set;}
[C++]
HRESULT get_Enabled(
VARIANT_BOOL* pbool
);
[C++]
HRESULT put_Enabled(
VARIANT_BOOL pbool
);
[C++]
Parameters pbool [out, retval] pbool is a parameter of type VARIANT_BOOL pbool [in] pbool is a parameter of type VARIANT_BOOL
The Enabled property allows a GlobeControl to be enabled or disabled at run time. For example, you can disable Controls that don't apply to the current state of the application. A GlobeControl which is not enabled will not fire any mouse or keyboard events to its associated CurrentTool if any is set.