Table of Contents

Method AddSeparatorCore

Namespace
Alternet.UI
Assembly
Alternet.UI.Common.dll

AddSeparatorCore()

Creates and adds a new separator item to the toolbar.

public virtual ToolBarSeparatorItem AddSeparatorCore()

Returns

ToolBarSeparatorItem

A ToolBarSeparatorItem representing the newly created separator.

Remarks

The separator item is initialized with the default separator color, if specified, and its properties are updated to match the toolbar's configuration. The parent of the separator item is set to the current toolbar instance.