This document is archived and information here might be outdated. Recommended version. |
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(
Boolean* pVal
);
[C++]
HRESULT put_Group(
VARIANT_BOOL pVal
);
[C++] Parameters pVal [out, retval]
pVal is a parameter of type bool* pVal [in]
pVal is a parameter of type 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)