This document is archived and information here might be outdated. Recommended version. |
ArcObjects namespaces > Controls > ESRI ArcGIS Controls > Interfaces > IS > ISymbologyControlDefault Interface > ISymbologyControlDefault.Enabled Property (ArcObjects .NET 10.4 SDK) |
Indicates whether the SymbologyControl can respond to user generated events.
[Visual Basic .NET] Public Property Enabled As Boolean
[C#] public bool Enabled {get; set;}
[C++]
HRESULT get_Enabled(
void
);
[C++]
HRESULT put_Enabled(
);
The Enabled property allows a SymbologyControl 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 SymbologyControl which is not enabled will not respond to any keyboard or mouse interaction.