menu

Blazor

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

    Show / Hide Table of Contents

    Class ShapeChangeEventArgs

    Provides the information about the ShapeChanging, OnShapeResizeStart, OnShapeDragStart, OnShapeResizeEnd, and OnShapeDragEnd event callbacks.

    Inheritance
    System.Object
    ShapeChangeEventArgs
    Namespace: Syncfusion.Blazor.ImageEditor
    Assembly: Syncfusion.Blazor.dll
    Syntax
    public class ShapeChangeEventArgs : Object

    Constructors

    ShapeChangeEventArgs()

    Declaration
    public ShapeChangeEventArgs()

    Properties

    Action

    Gets a value that indicates the name of the action to be performed.

    Declaration
    public string Action { get; set; }
    Property Value
    Type Description
    System.String

    A string value that represents the type of customization done in shapes.

    Remarks

    The possible actions include insert, select, delete, change stroke width, change stroke color, change fill color, change font family, change font size, change font style, and change font color.

    AllowShapeOverflow

    Gets or sets to allow the shapes from being dragged outside the image boundary.

    Declaration
    public bool AllowShapeOverflow { get; set; }
    Property Value
    Type Description
    System.Boolean

    false to prevent all shapes from dragging out of image; otherwise, true to allow all shapes to drag out including not rotated shapes.

    Cancel

    Gets or sets a value indicating whether the shape changing action should be canceled.

    Declaration
    public bool Cancel { get; set; }
    Property Value
    Type Description
    System.Boolean

    Optional true if the shape change action should be canceled; otherwise, false. The default value is false.

    CurrentShapeSettings

    Gets or sets the shape settings after inserting, deleting, and customization of the shape can be performed.

    Declaration
    public ShapeSettings CurrentShapeSettings { get; set; }
    Property Value
    Type Description
    ShapeSettings

    A ShapeSettings object that represents the all the details of the shape including its position, stroke color, stroke width, fill color etc.

    PreviousShapeSettings

    Gets the shape settings before inserting, deleting, and customization of the shape can be performed.

    Declaration
    public ShapeSettings PreviousShapeSettings { get; set; }
    Property Value
    Type Description
    ShapeSettings

    A ShapeSettings object that represents the all the details of the shape including its position, stroke color, stroke width, fill color etc.

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