This document is archived and information here might be outdated. Recommended version. |
The palette item currently displayed on the ToolbarControl.
[Visual Basic .NET] Public ReadOnly Property ActiveItem As IToolbarItem
[C#] public IToolbarItem ActiveItem {get;}
[C++]
HRESULT get_ActiveItem(
IToolbarItem** ppToolbarItem
);
[C++] Parameters ppToolbarItem [out, retval]
ppToolbarItem is a parameter of type IToolbarItem**
The item on the ToolbarPalette that is displayed on the ToolbarControl. By default this is the first item on the ToolbarPalette with an index of 0.
The ActiveItem will be automatically set to the IToolbarControl::CurrentTool when a tool on the ToolbarPalette is set as the current tool.