This document is archived and information here might be outdated. Recommended version. |
ArcObjects Help for .NET developers > ArcObjects namespaces > SystemUI > ESRI.ArcGIS.SystemUI > Interfaces > IT > IToolPalette Interface > IToolPalette.PaletteItemCount Property (ArcObjects .NET 10.5 SDK) |
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
When implementing IToolPalette to create a tool palette, use the PaletteItemCount to specify how many items will be on this tool palette.