Class ToolbarClickEventArgs
Provides information about OnToolbarClick events.
Inheritance
System.Object
ToolbarClickEventArgs
Namespace: Syncfusion.Blazor.RichTextEditor
Assembly: Syncfusion.Blazor.dll
Syntax
public class ToolbarClickEventArgs : Object
Remarks
This class delivers details about toolbar interactions, enabling actions or preventing them based on user input.
Constructors
ToolbarClickEventArgs()
Declaration
public ToolbarClickEventArgs()
Properties
Cancel
Gets or sets the whether the toolbar click action should be calcel or not.
Declaration
public bool Cancel { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
|
Remarks
By setting the Cancel property, you can prevent default toolbar behaviors or trigger alternative actions.
Item
Gets the current toolbar item data.
Declaration
public Item Item { get; set; }
Property Value
Remarks
The Item property provides specific details about the toolbar element that was interacted with.
RequestType
Gets the request type of the event.
Declaration
public string RequestType { get; }
Property Value
Type | Description |
---|---|
System.String | A string representing the request type. |
Remarks
The RequestType property distinguishes the type of operation requested by the toolbar action.