This document is archived and information here might be outdated.  Recommended version.


IToolbarItem.Group Property (ArcObjects .NET 10.4 SDK)
ArcObjects Library Reference (Controls)  

IToolbarItem.Group Property

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

Product Availability

Available with ArcGIS Engine.

Description

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.

[C#]
IToolbarItem toolbarItem=axToolbarControl1.GetItem(0);
toolbarItem.Group=true;
//Refresh the changes
axToolbarControl1.Update(0, true);
[Visual Basic .NET]
Dim pToolbarItem As IToolbarItem
pToolbarItem=AxToolbarControl1.GetItem(0)
pToolbarItem.Group=True
'Refresh the changes
AxToolbarControl1.Update(0, True)

See Also

IToolbarItem Interface