Class Item
The class is used to configure the current toolbar items.
Inheritance
Namespace: Syncfusion.Blazor.RichTextEditor
Assembly: Syncfusion.Blazor.dll
Syntax
public class Item : Object
Remarks
This class is responsible for managing toolbar items' properties and behaviors within the RichTextEditor interface.
Constructors
Item()
Declaration
public Item()
Properties
Command
Gets or sets the command name of the toolbar item.
Declaration
public string Command { get; set; }
Property Value
Type | Description |
---|---|
System.String | A string identifying the command executed by the toolbar item. |
Remarks
The Command property links the toolbar item to a specific function within the editor.
Icon
Gets or sets the icon of the toolbar item.
Declaration
public string Icon { get; set; }
Property Value
Type | Description |
---|---|
System.String | A string denoting the toolbar item icon. |
Remarks
The Icon property assists in visually representing toolbar commands via associated icons.
Id
Gets or sets the ID of the toolbar item.
Declaration
public string Id { get; set; }
Property Value
Type | Description |
---|---|
System.String | A string representing the toolbar item's identifier. |
Remarks
The Id property is crucial for uniquely identifying and referencing toolbar elements.
SubCommand
Gets or sets the subcommand name of the toolbar item.
Declaration
public string SubCommand { get; set; }
Property Value
Type | Description |
---|---|
System.String | A string representing secondary command details. |
Remarks
The SubCommand provides additional context or action specificity for detailed editor operations.
Tooltip
Gets or sets the tooltip name of the toolbar item.
Declaration
public string Tooltip { get; set; }
Property Value
Type | Description |
---|---|
System.String | A string that specifies tooltip content. |
Remarks
The Tooltip property delivers informative text for users interacting with toolbar components.
Value
Gets or sets the value of the toolbar item.
Declaration
public string Value { get; set; }
Property Value
Type | Description |
---|---|
System.String | A string detailing the item's value. |
Remarks
The Value field holds specific editor command values related to the toolbar item.