alexa
menu

MAUI

  • User Guide
  • Demos
  • Support
  • Forums
  • Download

    Show / Hide Table of Contents

    Class DiagramNodePositionChangedEventArgs

    Provides data for PositionChanged: a Node just finished being dragged to a new position in the WebView.

    Inheritance
    System.Object
    DiagramNodePositionChangedEventArgs
    Namespace: Syncfusion.Maui.Diagram
    Assembly: Syncfusion.Maui.Diagram.dll
    Syntax
    public sealed class DiagramNodePositionChangedEventArgs : EventArgs
    Remarks

    Raised once, after the drag gesture completes — not once per intermediate frame while it's still in progress — matching OffsetX/OffsetY, which are themselves already updated to NewOffsetX/NewOffsetY by the time this fires.

    Properties

    NewOffsetX

    Gets the node's horizontal center after this move.

    Declaration
    public double NewOffsetX { get; }
    Property Value
    Type
    System.Double

    NewOffsetY

    Gets the node's vertical center after this move.

    Declaration
    public double NewOffsetY { get; }
    Property Value
    Type
    System.Double

    Node

    Gets the node that moved. Its OffsetX/OffsetY already equal NewOffsetX/NewOffsetY.

    Declaration
    public Node Node { get; }
    Property Value
    Type
    Node

    OldOffsetX

    Gets the node's horizontal center before this move.

    Declaration
    public double OldOffsetX { get; }
    Property Value
    Type
    System.Double

    OldOffsetY

    Gets the node's vertical center before this move.

    Declaration
    public double OldOffsetY { get; }
    Property Value
    Type
    System.Double
    Back to top Generated by DocFX
    Copyright © 2001 - 2026 Syncfusion Inc. All Rights Reserved