alexa
menu

Blazor

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

    Show / Hide Table of Contents

    Class ItemModel

    Provides information about the toolbar item.

    Inheritance
    object
    ItemModel
    ImageEditorToolbarItemModel
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Syncfusion.Blazor.Navigations
    Assembly: Syncfusion.Blazor.dll
    Syntax
    public class ItemModel

    Constructors

    ItemModel()

    Declaration
    public ItemModel()

    Properties

    Align

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

    Declaration
    [JsonPropertyName("align")]
    [JsonConverter(typeof(JsonStringEnumConverter))]
    public ItemAlign Align { get; set; }
    Property Value
    Type
    ItemAlign

    Click

    Event triggers when click the toolbar item.

    Declaration
    [JsonIgnore]
    [JsonPropertyName("click")]
    public EventCallback<ClickEventArgs> Click { get; set; }
    Property Value
    Type
    EventCallback<ClickEventArgs>

    CssClass

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

    Declaration
    [JsonPropertyName("cssClass")]
    public string CssClass { get; set; }
    Property Value
    Type
    string

    Disabled

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

    Declaration
    [JsonPropertyName("disabled")]
    public bool Disabled { get; set; }
    Property Value
    Type
    bool

    HtmlAttributes

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

    Declaration
    [JsonPropertyName("htmlAttributes")]
    public Dictionary<string, object> HtmlAttributes { get; set; }
    Property Value
    Type
    Dictionary<string, object>

    Id

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

    Declaration
    [JsonPropertyName("id")]
    public string Id { get; set; }
    Property Value
    Type
    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
    [JsonPropertyName("overflow")]
    [JsonConverter(typeof(JsonStringEnumConverter))]
    public OverflowOption Overflow { get; set; }
    Property Value
    Type
    OverflowOption

    PrefixIcon

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

    Declaration
    [JsonPropertyName("prefixIcon")]
    public string PrefixIcon { get; set; }
    Property Value
    Type
    string

    ShowAlwaysInPopup

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

    Declaration
    [JsonPropertyName("showAlwaysInPopup")]
    public bool ShowAlwaysInPopup { get; set; }
    Property Value
    Type
    bool

    ShowTextOn

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

    Declaration
    [JsonPropertyName("showTextOn")]
    [JsonConverter(typeof(JsonStringEnumConverter))]
    public DisplayMode ShowTextOn { get; set; }
    Property Value
    Type
    DisplayMode

    SuffixIcon

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

    Declaration
    [JsonPropertyName("suffixIcon")]
    public string SuffixIcon { get; set; }
    Property Value
    Type
    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
    [JsonPropertyName("tabIndex")]
    public int TabIndex { get; set; }
    Property Value
    Type
    int

    Template

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

    Declaration
    [JsonIgnore]
    [JsonPropertyName("template")]
    public RenderFragment Template { get; set; }
    Property Value
    Type
    RenderFragment

    Text

    Gets or sets the text content for toolbar button item.

    Declaration
    [JsonPropertyName("text")]
    public string Text { get; set; }
    Property Value
    Type
    string

    TooltipText

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

    Declaration
    [JsonPropertyName("tooltipText")]
    public string TooltipText { get; set; }
    Property Value
    Type
    string

    Type

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

    Declaration
    [JsonPropertyName("type")]
    [JsonConverter(typeof(JsonStringEnumConverter))]
    public ItemType Type { get; set; }
    Property Value
    Type
    ItemType

    Visible

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

    Declaration
    [JsonPropertyName("visible")]
    public bool Visible { get; set; }
    Property Value
    Type
    bool

    Width

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

    Declaration
    [JsonPropertyName("width")]
    public string Width { get; set; }
    Property Value
    Type
    string
    In this article
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved