Class ToolbarSettingsModel
Configuration for dual ListBox toolbar (move/copy operations and toolbar positioning).
Inheritance
System.Object
ToolbarSettingsModel
Namespace: Syncfusion.Blazor.DropDowns
Assembly: Syncfusion.Blazor.dll
Syntax
public class ToolbarSettingsModel : Object
Remarks
ToolbarSettingsModel allows you to customize which commands (move up, down, all, etc.) and where the toolbar appears (left/right of the list).
Examples
<SfListBox>
<ToolbarSettings Items="@(new[] { "moveUp", "moveDown", "moveAllTo" })" Position="ToolBarPosition.Right" />
</SfListBox>
Constructors
ToolbarSettingsModel()
Declaration
public ToolbarSettingsModel()
Properties
Items
Lists which toolbar commands are available for this ListBox instance (move up, move down, move/copy all, etc.).
Declaration
public string[] Items { get; set; }
Property Value
Type | Description |
---|---|
System.String[] | Command array as |
Position
Determines the toolbar position relative to the ListBox ( Left or Right). Default: Right.
Declaration
public ToolBarPosition Position { get; set; }
Property Value
Type | Description |
---|---|
ToolBarPosition | A |