alexa
menu

Blazor

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

    Show / Hide Table of Contents

    Class PositionChangedEventArgs

    Notifies when the node or connector is dragged or its position is changed.

    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()
    Namespace: Syncfusion.Blazor.Diagram
    Assembly: Syncfusion.Blazor.dll
    Syntax
    public class PositionChangedEventArgs
    Examples
    <SfDiagramComponent  PositionChanged="@changed">
    </SfDiagramComponent>
    private void changed(PositionChangedEventArgs args)
    {
        if (args.NewValue != null && args.OldValue != null && args.Element != null)
        {
            Console.WriteLine("Changed");
        }
    }

    Constructors

    PositionChangedEventArgs()

    Declaration
    public PositionChangedEventArgs()

    Properties

    Element

    Gets the node or connector that is being dragged.

    Declaration
    public IDiagramObject? Element { get; }
    Property Value
    Type Description
    IDiagramObject

    The IDiagramObject that represents the node or connector currently being dragged.

    NewValue

    Gets the selector’s current value in which the node or the connector is being dragged.

    Declaration
    public DiagramSelectionSettings? NewValue { get; }
    Property Value
    Type Description
    DiagramSelectionSettings

    The DiagramSelectionSettings representing the current value of the selector during the drag operation.

    OldValue

    Gets the Selector old value in which the node or the connector is being dragged.

    Declaration
    public DiagramSelectionSettings? OldValue { get; }
    Property Value
    Type Description
    DiagramSelectionSettings

    The DiagramSelectionSettings representing the previous value of the selector before the drag operation.

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