alexa
menu

Blazor

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Search Results for

    Show / Hide Table of Contents

    Class ToolbarEventArgs

    Provides the information about the ToolbarUpdating event callback.

    Inheritance
    object
    ToolbarEventArgs
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Syncfusion.Blazor.ImageEditor
    Assembly: Syncfusion.Blazor.dll
    Syntax
    public class ToolbarEventArgs

    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
    bool

    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
    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.

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