Visual Basic
C#
Managed Extensions for C++
C++/CLI
The event handler receives an argument of type ToolbarContextMenuEventArgs containing data related to this event. The following ToolbarContextMenuEventArgs properties provide information specific to this event.
Property | Description |
---|---|
SubMenuId | Gets the sub-level menu ID for this menu item. |
Tool | Gets the Tool associated with the context menu that fired the event. |
TopMenuId | Gets the top-level menu ID for this menu ID. |
User1 | Gets the first of two user-supplied values set when the menu was created. |
User2 | Gets the second of two user-supplied values set when the menu was created. |