This document is archived and information here might be outdated. Recommended version. |
ArcObjects Help for .NET developers > ArcObjects namespaces > Controls > ESRI ArcGIS Controls > Interfaces > IT > IToolbarItem Interface > IToolbarItem.Group Property (ArcObjects .NET 10.5 SDK) |
Indicates if a group separator exists to the left of the item on the ToolbarControl.
[Visual Basic .NET] Public Property Group As Boolean
[C#] public bool Group {get; set;}
[C++]
HRESULT get_Group(
VARIANT_BOOL* pVal
);
[C++]
HRESULT put_Group(
VARIANT_BOOL pVal
);
[C++]
Parameters pVal [out, retval] pVal is a parameter of type VARIANT_BOOL pVal [in] pVal is a parameter of type VARIANT_BOOL
Determines whether a separator exists to the left of the item on the ToolbarControl. The separator will appear as verticle line. By default Group is False.
IToolbarItem toolbarItem=axToolbarControl1.GetItem(0);
toolbarItem.Group=true;
//Refresh the changes
axToolbarControl1.Update(0, true);
Dim pToolbarItem As IToolbarItem
pToolbarItem=AxToolbarControl1.GetItem(0)
pToolbarItem.Group=True
'Refresh the changes
AxToolbarControl1.Update(0, True)