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
public int PaletteItemCount {get;}
HRESULT get_PaletteItemCount(
  System.Int32* numItems
numItems [out, retval]

numItems is a parameter of type long*

Product Availability

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


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