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


IToolbarItem2.Palette Property (ArcObjects .NET 10.6 SDK)
ArcObjects Library Reference (Controls)  

IToolbarItem2.Palette Property

If the item is a palette, this property is a ToolbarPalette object.

[Visual Basic .NET]
Public ReadOnly Property Palette As IToolbarPalette
[C#]
public IToolbarPalette Palette {get;}
[C++]
HRESULT get_Palette(
  IToolbarPalette** ppToolbarPalette
);
[C++]

Parameters ppToolbarPalette [out, retval]
ppToolbarPalette is a parameter of type IToolbarPalette**

Product Availability

Available with ArcGIS Engine.

Description

Returns the IToolbarPalette used by the item if the item represents a palette. If the item does not use a palette Nothing is returned.

See Also

IToolbarItem2 Interface