IToolbarControlEvents Interface (ArcObjects .NET 10.6 SDK)
ArcObjects Help for .NET developers > ArcObjects namespaces > Controls > ESRI ArcGIS Controls > Interfaces > IT > IToolbarControlEvents Interface (ArcObjects .NET 10.6 SDK)
ArcObjects Library Reference (Controls)  

IToolbarControlEvents Interface

Provides access to events that occur with interaction to the ToolbarControl.

Product Availability

Available with ArcGIS Engine.

Description

This is the main events interface for the ToolbarControl. Generally there is no need to explicitly set event handlers, as most development environments will automatically provide event handlers.

Members

Name Description
Method OnBuddyChanged Fires after the ToolbarControl Buddy is set.
Method OnDoubleClick Fires when the user presses and releases the mouse button twice in quick succession.
Method OnItemClick Fires after an item on the ToolbarControl is pressed.
Method OnKeyDown Fires after a key is pressed on the keyboard.
Method OnKeyUp Fires after a pressed key is released.
Method OnMouseDown Fires when the user presses any mouse button while over the ToolbarControl.
Method OnMouseMove Fires when the user moves the mouse over the ToolbarControl.
Method OnMouseUp Fires when the user releases a mouse button while over the ToolbarControl.

CoClasses that implement IToolbarControlEvents

CoClasses and Classes Description
ToolbarControl Esri ToolbarControl
ToolbarControlEventsListener (esriSystemUtility) Helper coclass to provide IToolbarControlEvents support to the C++ API.