This document is archived and information here might be outdated. Recommended version. |
The width of the group separator in pixels if present.
[Visual Basic .NET] Public Property GroupSpacing As Integer
[C#] public int GroupSpacing {get; set;}
[C++]
HRESULT get_GroupSpacing(
System.Int32* pVal
);
[C++]
HRESULT put_GroupSpacing(
long pVal
);
[C++]
Parameters pVal [out, retval]
pVal is a parameter of type long* pVal [in]
pVal is a parameter of type long
Determines the width in pixels of a Group separator if it exists to the left the of the item on the ToolbarControl. The separator appears as verticle line and is drawn to the left of the GroupSpacing. A zero value sets the GroupSpacing to its default value (currently 4 pixels).
IToolbarItem toolbarItem=axToolbarControl1.GetItem(0);
toolbarItem.GroupSpacing=8;
//Refresh the changes
axToolbarControl1.Update(0, true);
Dim pToolbarItem As IToolbarItem
pToolbarItem=AxToolbarControl1.GetItem(0)
pToolbarItem.Groupspacing=8
'Refresh the changes
AxToolbarControl1.Update(0, True)