menu

Blazor

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class ToolbarSettingsModel - Blazor API Reference | Syncfusion

    Show / Hide Table of Contents

    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 string[]; null disables toolbar.

    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 ToolBarPosition enumeration.

    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved