Class ImageToolbarItemModel
The class is used to configure quick toolbar items on images in the SfRichTextEditor.
Inheritance
Namespace: Syncfusion.Blazor.RichTextEditor
Assembly: Syncfusion.Blazor.dll
Syntax
public class ImageToolbarItemModel : Object
Remarks
This class facilitates customization of toolbar operations specifically for image elements in the editor.
Constructors
ImageToolbarItemModel()
Declaration
public ImageToolbarItemModel()
Properties
Command
Gets or sets the command name of the image quick toolbar item.
Declaration
public ImageToolbarCommand Command { get; set; }
Property Value
Type | Description |
---|---|
ImageToolbarCommand | An instance of ImageToolbarCommand specifying command functions. |
Remarks
The Command denotes the operation to be executed when the image toolbar action is selected.
CssClass
Gets or sets the CSS class that can be added to customize the image quick toolbar item.
Declaration
public string CssClass { get; set; }
Property Value
Type | Description |
---|---|
System.String | A string of CSS classes used for styling. |
Remarks
CssClass is used to provide custom styling to image-related quick toolbar actions.
TooltipText
Gets or sets the tooltip text of the image quick toolbar item.
Declaration
public string TooltipText { get; set; }
Property Value
Type | Description |
---|---|
System.String | A string providing descriptive tooltip information. |
Remarks
TooltipText serves as quick reference text to aid users in understanding the toolbar item's usage.