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


IToolPalette.PaletteItemCount Property (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > SystemUI > ESRI.ArcGIS.SystemUI > Interfaces > IT > IToolPalette Interface > IToolPalette.PaletteItemCount Property
ArcGIS Developer Help

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(
  System.Int32* 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