This document is archived and information here might be outdated.  Recommended version.

IToolbarControl.Enabled Property (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Controls > ESRI ArcGIS Controls > Interfaces > IT > IToolbarControl Interface > IToolbarControl.Enabled Property
ArcGIS Developer Help

IToolbarControl.Enabled Property

Indicates whether the ToolbarControl can respond to user generated events.

[Visual Basic .NET]
Public Property Enabled As Boolean
public bool Enabled {get; set;}
HRESULT get_Enabled(
HRESULT put_Enabled(

Product Availability

Available with ArcGIS Engine.


The Enabled property allows a ToolbarControl 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 ToolbarControl which is not enabled will not respond to any keyboard or mouse interaction, and will not fire any mouse or keyboard events to its Buddy if any is set.

See Also

IToolbarControl Interface