This document is archived and information here might be outdated. Recommended version. |
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*
When implementing IToolPalette to create a tool palette, use the PaletteItemCount to specify how many items will be on this tool palette.