Class ConnectionChangedEventArgs
Notifies when the connector’s source id or target id has changed.
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. |