alexa
menu

Blazor

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

    Show / Hide Table of Contents

    Class PositionChangingEventArgs

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

    Inheritance
    object
    PositionChangedEventArgs
    PositionChangingEventArgs
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    PositionChangedEventArgs.Element
    PositionChangedEventArgs.NewValue
    PositionChangedEventArgs.OldValue
    Namespace: Syncfusion.Blazor.Diagram
    Assembly: Syncfusion.Blazor.dll
    Syntax
    public class PositionChangingEventArgs : PositionChangedEventArgs
    Examples
    <SfDiagramComponent  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
    bool

    true, if the user is prevented from dragging the element. Otherwise, false.

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