This document is archived and information here might be outdated. Recommended version. |
Fires after an item on the ToolbarControl is pressed.
[Visual Basic .NET] Public Event OnItemClick As OnItemClickEventHandler
[C#] public event OnItemClickEventHandler OnItemClick
[C++]
HRESULT OnItemClick(
long index
);
[C++]
Parameters index [in]
index is a parameter of type long
The OnItemClick event is triggered when the user presses the left mouse button on a ToolbarControl item. If the item is disabled the event is not triggered.
index specifies the index value of the item pressed.
The event sequence is as follows:
OnMouseDown
OnMouseUp
OnItemClick