Class ToolbarSettingsModel
Configuration for dual ListBox toolbar (move/copy operations and toolbar positioning).
Inherited Members
Namespace: Syncfusion.Blazor.DropDowns
Assembly: Syncfusion.Blazor.dll
Syntax
public class ToolbarSettingsModel
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
[JsonPropertyName("items")]
public string[] Items { get; set; }
Property Value
| Type | Description |
|---|---|
| string[] | Command array as |
Position
Determines the toolbar position relative to the ListBox ( Left or Right). Default: Right.
Declaration
[JsonPropertyName("position")]
[JsonConverter(typeof(JsonStringEnumConverter))]
public ToolBarPosition Position { get; set; }
Property Value
| Type | Description |
|---|---|
| ToolBarPosition | A |