menu

Blazor

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

    Show / Hide Table of Contents

    Class ItemModel

    Provides information about the toolbar item.

    Inheritance
    System.Object
    ItemModel
    ImageEditorToolbarItemModel
    Namespace: Syncfusion.Blazor.Navigations
    Assembly: Syncfusion.Blazor.dll
    Syntax
    public class ItemModel : Object

    Constructors

    ItemModel()

    Declaration
    public ItemModel()

    Properties

    Align

    Gets or sets the location for aligning toolbar items on the toolbar.

    Declaration
    public ItemAlign Align { get; set; }
    Property Value
    Type
    ItemAlign

    Click

    Event triggers when click the toolbar item.

    Declaration
    public EventCallback<ClickEventArgs> Click { get; set; }
    Property Value
    Type
    Microsoft.AspNetCore.Components.EventCallback<ClickEventArgs>

    CssClass

    Gets or sets the classes for toolbar item to customize the toolbar item.

    Declaration
    public string CssClass { get; set; }
    Property Value
    Type
    System.String

    Disabled

    Gets or sets whether the toolbar item is disabled or not.

    Declaration
    public bool Disabled { get; set; }
    Property Value
    Type
    System.Boolean

    HtmlAttributes

    Gets or sets a collection of additional attributes that will be applied to the toolbar item element.

    Declaration
    public Dictionary<string, object> HtmlAttributes { get; set; }
    Property Value
    Type
    System.Collections.Generic.Dictionary<System.String, System.Object>

    Id

    Gets or sets the unique ID for toolbar button or input element.

    Declaration
    public string Id { get; set; }
    Property Value
    Type
    System.String

    Overflow

    Gets or sets a value that indicates whether to display the toolbar item on toolbar or not, when the content is too large to fit available space.

    Declaration
    public OverflowOption Overflow { get; set; }
    Property Value
    Type
    OverflowOption

    PrefixIcon

    Gets or sets the classes to display an icon for toolbar button item.

    Declaration
    public string PrefixIcon { get; set; }
    Property Value
    Type
    System.String

    ShowAlwaysInPopup

    Gets or sets the toolbar items whether to display always in popup or not.

    Declaration
    public bool ShowAlwaysInPopup { get; set; }
    Property Value
    Type
    System.Boolean

    ShowTextOn

    Gets or sets a value that indicates whether to display the button text on toolbar or popup.

    Declaration
    public DisplayMode ShowTextOn { get; set; }
    Property Value
    Type
    DisplayMode

    SuffixIcon

    Gets or sets the classes to display an icon for toolbar button item.

    Declaration
    public string SuffixIcon { get; set; }
    Property Value
    Type
    System.String

    TabIndex

    Gets or sets the tab order of the Toolbar items. When positive values assigned, it allows to switch focus to the next/previous toolbar items with Tab/ShiftTab keys.

    Declaration
    public int TabIndex { get; set; }
    Property Value
    Type
    System.Int32

    Template

    Gets or sets the HTML element content for the toolbar item.

    Declaration
    public RenderFragment Template { get; set; }
    Property Value
    Type
    Microsoft.AspNetCore.Components.RenderFragment

    Text

    Gets or sets the text content for toolbar button item.

    Declaration
    public string Text { get; set; }
    Property Value
    Type
    System.String

    TooltipText

    Gets or sets the tooltip text content to be displayed on hovering the toolbar button item.

    Declaration
    public string TooltipText { get; set; }
    Property Value
    Type
    System.String

    Type

    Gets or sets a value that indicates the type of toolbar item to be rendered in toolbar.

    Declaration
    public ItemType Type { get; set; }
    Property Value
    Type
    ItemType

    Visible

    Gets or sets whether the toolbar item is hidden or not.

    Declaration
    public bool Visible { get; set; }
    Property Value
    Type
    System.Boolean

    Width

    Gets or sets the width of the toolbar button item in pixels/number/percentage.

    Declaration
    public string Width { get; set; }
    Property Value
    Type
    System.String
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved