Class ToolbarClickEventArgs
Provides information about OnToolbarClick events.
Inherited Members
Namespace: Syncfusion.Blazor.RichTextEditor
Assembly: Syncfusion.Blazor.dll
Syntax
public class ToolbarClickEventArgs
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 |
|---|---|
| bool |
|
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
| Type | Description |
|---|---|
| Item | An Item object representing the current toolbar item. |
Remarks
The Item property provides specific details about the toolbar element that was interacted with.
OriginalEvent
Gets the original event that triggered the toolbar click.
Declaration
public object? OriginalEvent { get; set; }
Property Value
| Type | Description |
|---|---|
| object | An object representing the original event data from JavaScript. |
Remarks
The OriginalEvent property provides access to the underlying JavaScript event details.
RequestType
Gets the request type of the event.
Declaration
public string? RequestType { get; }
Property Value
| Type | Description |
|---|---|
| string | A string representing the request type. |
Remarks
The RequestType property distinguishes the type of operation requested by the toolbar action.