This document is archived and information here might be outdated. Recommended version. |
ArcObjects Help for .NET developers > ArcObjects namespaces > Controls > ESRI ArcGIS Controls > Interfaces > IT > IToolbarMenu2 Interface (ArcObjects .NET 10.5 SDK) |
Provides access to members that control ToolbarControl menu items.
The IToolbarMenu2 interface provides additional members for tasks related to the apperance of standalone ToolbarMenu objects. The AddMultiItem method allows MultiItem objects to be added to both standalone ToolbarMenu's and ToollbarMenu's on a ToolbarControl.
Description | ||
---|---|---|
AddItem | Adds an item to the ToolbarMenu. | |
AddMultiItem | Adds a multi-item to the ToolbarMenu. | |
AddSubMenu | Adds a sub-menu to the ToolbarMenu. | |
AlignLeft | Indicates if the ToolbarMenu displays aligned to the left or right. | |
Bitmap | The bitmap that is used as the icon on this ToolbarMenu. | |
Caption | The caption used by the ToolbarMenu. | |
CommandPool | The CommandPool used by the ToolbarMenu. | |
Count | The number of items on the ToolbarMenu. | |
Customize | Indicates if the ToolbarMenu is in customize mode. | |
Find | Returns the index of the first item containing the given command or menu. Returns -1 if it is not found. | |
GetItem | Returns the item at the specified index from the ToolbarMenu. | |
GetMenuDef | Returns the menu definition, this method is obsolete. | |
Hook | The object that is passed as a hook to the OnCreate event of each item's command. | |
IconSize | The size in pixels of icons displayed on the ToolbarMenu. | |
MouseIcon | Custom mouse icon used if MousePointer is 99. | |
MousePointer | The mouse pointer displayed over the ToolbarMenu. | |
MoveItem | Moves an item from one index to another. | |
PopupMenu | Pops up the menu at the position specified. | |
Remove | Removes the item at the specified index from the ToolbarMenu. | |
RemoveAll | Removes all items from the ToolbarMenu. | |
SetHook | Sets the object that is passed as a hook to the OnCreate event of each item's command. | |
ThemedDrawing | Indicates if the ToolbarMenu uses themed drawing. |
Interfaces | Description |
---|---|
IToolbarMenu | Provides access to members that control ToolbarControl menu items. |
CoClasses and Classes | Description |
---|---|
ToolbarMenu | A menu containing commands that can be used from a ToolbarControl or as a popup menu. |