alexa
menu

Blazor

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Search Results for

    Show / Hide Table of Contents

    Class ToolbarSettingsModel

    Configuration for dual ListBox toolbar (move/copy operations and toolbar positioning).

    Inheritance
    object
    ToolbarSettingsModel
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    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 string[]; null disables toolbar.

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

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