Method InsertSeparatorCore
InsertSeparatorCore(int)
Inserts a separator item at the specified index within the toolbar.
public virtual ToolBarSeparatorItem InsertSeparatorCore(int index)
Parameters
indexintThe zero-based index at which the separator item should be inserted.
Returns
- ToolBarSeparatorItem
The ToolBarSeparatorItem that was inserted.
Remarks
The separator item is created using the CreateToolSeparator() method. If a default separator color is specified via DefaultSeparatorColor, it is applied to the separator's border. The item properties are updated to reflect its kind as a separator before being added to the toolbar's children.