alexa
menu

Blazor

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

    Show / Hide Table of Contents

    Class ToolbarItemModel

    Provides information about the toolbar items added to the SfRichTextEditor.

    Inheritance
    object
    ToolbarItemModel
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Syncfusion.Blazor.RichTextEditor
    Assembly: Syncfusion.Blazor.dll
    Syntax
    public class ToolbarItemModel
    Remarks

    This class defines the attributes and functionality of individual toolbar items within the RichTextEditor.

    Constructors

    ToolbarItemModel()

    Declaration
    public ToolbarItemModel()

    Properties

    Command

    Gets or sets the command name associated with the toolbar item.

    Declaration
    public ToolbarCommand Command { get; set; }
    Property Value
    Type Description
    ToolbarCommand

    A ToolbarCommand indicating the command tied to this item.

    Remarks

    The Command property defines the specific operation triggered by the toolbar item.

    CssClass

    Gets or sets the CSS class used for customizing each toolbar item.

    Declaration
    public string? CssClass { get; set; }
    Property Value
    Type Description
    string

    A string containing CSS class names for custom styling.

    Remarks

    Use CssClass to apply unique styles to toolbar items, enhancing their appearance.

    Name

    Gets or sets the template name for a custom toolbar item.

    Declaration
    public string? Name { get; set; }
    Property Value
    Type Description
    string

    A string specifying the template name.

    Remarks

    The Name property can be used to refer to custom templates within the toolbar.

    TooltipText

    Gets or sets the tooltip text displayed for the toolbar item.

    Declaration
    public string? TooltipText { get; set; }
    Property Value
    Type Description
    string

    A string that appears as a tooltip.

    Remarks

    Use TooltipText to provide additional guidance or data when hovering over toolbar items.

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