Class ToolBarPosition
Determines the position where the toolbox is rendered in a ListBox control that has toolbars enabled.
Inheritance
System.Object
ToolBarPosition
Namespace: Syncfusion.Blazor.DropDowns
Assembly: Syncfusion.Blazor.dll
Syntax
public sealed class ToolBarPosition : Enum
Remarks
Primarily used by SfListBox
to specify the toolbar location in the UI.
Examples
ToolBarPosition toolBarPosition = ToolBarPosition.Left;
Fields
Left
Toolbar is aligned to the left side of the ListBox.
Declaration
public const ToolBarPosition Left
Field Value
Type | Description |
---|---|
ToolBarPosition | Toolbar shown on the left side of the control. |
Remarks
Default alignment for toolbars in most left-to-right languages.
Examples
ToolBarPosition pos = ToolBarPosition.Left;
Right
Toolbar is aligned to the right side of the ListBox.
Declaration
public const ToolBarPosition Right
Field Value
Type | Description |
---|---|
ToolBarPosition | Toolbar shown on the right side of the control. |
Remarks
Recommended for layouts with right-aligned toolbar actions.
Examples
ToolBarPosition pos = ToolBarPosition.Right;