Class ToolbarEventArgs
Provides the information about the ToolbarUpdating event callback.
Inheritance
Namespace: Syncfusion.Blazor.ImageEditor
Assembly: Syncfusion.Blazor.dll
Syntax
public class ToolbarEventArgs : Object
Constructors
ToolbarEventArgs()
Declaration
public ToolbarEventArgs()
Properties
Cancel
Gets or sets a value indicating whether the toolbar updating action should be canceled.
Declaration
public bool Cancel { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
|
Item
Gets the current toolbar item that is being clicked.
Declaration
public ImageEditorToolbarItemModel Item { get; set; }
Property Value
Type | Description |
---|---|
ImageEditorToolbarItemModel | An ImageEditorToolbarItemModel object representing the clicked toolbar item. |
ToolbarItems
Gets or sets the items to be rendered on the contextual toolbar.
Declaration
public List<ImageEditorToolbarItemModel> ToolbarItems { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<ImageEditorToolbarItemModel> | A collection of ImageEditorToolbarItemModel objects that specifies the toolbar items, including stroke color, fill color, stroke width, font family, font sizes, and custom toolbar items. |
ToolbarType
Gets the type of toolbar that is currently being updated.
Declaration
public ShapeType ToolbarType { get; set; }
Property Value
Type | Description |
---|---|
ShapeType | An enumeration value ShapeType that represents the type of the toolbar such as Rectangle, Ellipse, Line, Arrow, Text, and Freehand Draw. |