menu

Blazor

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

    Show / Hide Table of Contents

    Class ToolbarEventArgs

    Provides the information about the ToolbarUpdating event callback.

    Inheritance
    System.Object
    ToolbarEventArgs
    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

    true if the toolbar update action should be canceled; otherwise, false. The default value is false.

    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.

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