Blazor

Upgrade Guide User Guide Demos Support Forums Download
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class PositionChangingEventArgs - Blazor API Reference | Syncfusion

    Show / Hide Table of Contents

    Class PositionChangingEventArgs

    Notifies before the node or connector is dragging or its position is changing.

    Inheritance
    System.Object
    PositionChangedEventArgs
    PositionChangingEventArgs
    Inherited Members
    PositionChangedEventArgs.NewValue
    PositionChangedEventArgs.OldValue
    PositionChangedEventArgs.Element
    Namespace: Syncfusion.Blazor.Diagram
    Assembly: Syncfusion.Blazor.dll
    Syntax
    public class PositionChangingEventArgs : PositionChangedEventArgs
    Examples
    <SfDiagramComponent Width="1000px" Height="1000px" PositionChanging="@changed">
    </SfDiagramComponent>
    private void changed(PositionChangingEventArgs args)
    {
        if (args.NewValue != null && args.OldValue != null && args.Element != null)
        {
            Console.WriteLine("Changing");
        }
    }    

    Constructors

    PositionChangingEventArgs()

    Declaration
    public PositionChangingEventArgs()

    Properties

    Cancel

    Gets or sets the value that indicates the user prevents dragging of element over the diagram.

    Declaration
    public bool Cancel { get; set; }
    Property Value
    Type Description
    System.Boolean
    Back to top Generated by DocFX
    Copyright © 2001 - 2022 Syncfusion Inc. All Rights Reserved