menu

Blazor

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class ToolbarClickEventArgs - Blazor API Reference | Syncfusion

    Show / Hide Table of Contents

    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

    true if the toolbar click action should be canceled; otherwise false.

    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.

    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.

    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved