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


IToolPalette.PaletteItemCount Property (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (SystemUI)  

IToolPalette.PaletteItemCount Property

The number of items in this menu.

[Visual Basic .NET]
Public ReadOnly Property PaletteItemCount As Integer
[C#]
public int PaletteItemCount {get;}
[C++]
HRESULT get_PaletteItemCount(
  long* numItems
);
[C++]

Parameters numItems [out, retval] numItems is a parameter of type long

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Remarks

When implementing IToolPalette to create a tool palette, use the PaletteItemCount to specify how many items will be on this tool palette.

See Also

IToolPalette Interface