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


IToolbarItem2 Interface (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (Controls)  

IToolbarItem2 Interface

Provides access to members that control ToolbarControl items.

Product Availability

Available with ArcGIS Engine.

Description

A ToolbarItem represents a Command, Tool, ToolControl, MultiItem, Menu or Palette on the ToolbarControl.

Members

Description
Read-only property Command The command used by the item.
Read/write property CustomProperty A property to associate data with an item.
Read/write property Group Indicates if a group separator exists to the left of the item on the ToolbarControl.
Read/write property GroupSpacing The width of the group separator in pixels if present.
Read-only property ItemObject The Command, Tool, ToolControl, ToolbarMenu, ToolbarPalette or MultiItem used by the item.
Read-only property Menu If the item is a menu, this property is a ToolbarMenu object.
Read-only property MultiItem If the item is a multi-item, this property is a MultiItem object.
Read-only property Palette If the item is a palette, this property is a ToolbarPalette object.
Read/write property Style The style of the item. Displays a combination of text caption and bitmap.
Read-only property Type The type of item
Read-only property UID The UID of the command used by the item, which may be empty.

Inherited Interfaces

Interfaces Description
IToolbarItem Provides access to members that control ToolbarControl items.

CoClasses that implement IToolbarItem2

CoClasses and Classes Description
ToolbarItem ToolbarItems used by the ToolbarControl.