Class CustomToolbarItemModel
Defines customized toolbar items.
Inheritance
System.Object
CustomToolbarItemModel
Namespace: Syncfusion.Blazor.DocumentEditor
Assembly: Syncfusion.Blazor.DocumentEditor.dll
Syntax
public class CustomToolbarItemModel : Object
Constructors
CustomToolbarItemModel()
Declaration
public CustomToolbarItemModel()
Properties
CssClass
Defines single/multiple classes (separated by space) to be used for customization of commands.
Declaration
public string CssClass { get; set; }
Property Value
Type |
---|
System.String |
Id
Specifies the unique ID to be used with button or input element of Toolbar items.
Declaration
public string Id { get; set; }
Property Value
Type |
---|
System.String |
PrefixIcon
Defines single/multiple classes separated by space used to specify an icon for the button. The icon will be positioned before the text content if text is available, otherwise the icon alone will be rendered.
Declaration
public string PrefixIcon { get; set; }
Property Value
Type |
---|
System.String |
Text
Specifies the text to be displayed on the Toolbar button.
Declaration
public string Text { get; set; }
Property Value
Type |
---|
System.String |
TooltipText
Specifies the text to be displayed on the Toolbar button.
Declaration
public string TooltipText { get; set; }
Property Value
Type |
---|
System.String |
Methods
Equals(CustomToolbarItemModel)
Indicates whether the current object is equal to another object of the same type.
Declaration
public bool Equals(CustomToolbarItemModel customToolbarItemModel)
Parameters
Type | Name | Description |
---|---|---|
CustomToolbarItemModel | customToolbarItemModel | An CustomToolbarItemModel to compare. |
Returns
Type | Description |
---|---|
System.Boolean | true if the current object is equal to the other parameter; otherwise, false. |