menu

Blazor

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

    Show / Hide Table of Contents

    Class ConnectionChangedEventArgs

    Notifies when the connector’s source id or target id has changed.

    Inheritance
    System.Object
    ConnectionChangedEventArgs
    ConnectionChangingEventArgs
    Namespace: Syncfusion.Blazor.Diagram
    Assembly: Syncfusion.Blazor.dll
    Syntax
    public class ConnectionChangedEventArgs : Object
    Examples
    <SfDiagramComponent Width="1000px" Height="1000px" ConnectionChanged="ConnectionChanged">
    </SfDiagramComponent>
     private void ConnectionChanging(ConnectionChangedEventArgs args)
    {
    
    }

    Constructors

    ConnectionChangedEventArgs()

    Declaration
    public ConnectionChangedEventArgs()

    Properties

    Connector

    Returns the new source node or target node of the connector.

    Declaration
    public Connector Connector { get; }
    Property Value
    Type Description
    Connector

    The Connector representing the new source node or target node of the connector.

    ConnectorAction

    Returns whether it is a source end or a target end.

    Declaration
    public DiagramElementAction ConnectorAction { get; }
    Property Value
    Type Description
    DiagramElementAction

    The DiagramElementAction representing the action associated with the connector.

    NewValue

    Represents the current source or target node while dragging the endpoint of the connector.

    Declaration
    public ConnectionObject NewValue { get; }
    Property Value
    Type Description
    ConnectionObject

    A ConnectionObject object representing the current source of the connector while dragging the endpoint.

    OldValue

    Specifies the previous source or target node of the connector.

    Declaration
    public ConnectionObject OldValue { get; }
    Property Value
    Type Description
    ConnectionObject

    A ConnectionObject object representing the previous source of the connector while dragging the endpoint.

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