Class EndPointChangedEventArgs
Represents the source and target points of the connector are changed.
Inherited Members
Namespace: Syncfusion.Blazor.Diagram
Assembly: Syncfusion.Blazor.dll
Syntax
public class EndPointChangedEventArgs
Examples
<SfDiagramComponent Width="1000px" Height="1000px" TargetPointChanged="@OnTargetPointChanged">
</SfDiagramComponent>
private void OnTargetPointChanged(EndPointChangedEventArgs args)
{
if (args.Connector != null)
{
Connector connector = args.Connector;
}
}
Constructors
EndPointChangedEventArgs()
Declaration
public EndPointChangedEventArgs()
Properties
Connector
Gets the current connector from which the source point or target point is changed.
Declaration
public Connector? Connector { get; }
Property Value
| Type | Description |
|---|---|
| Connector | A Connector object representing the current connector. |
NewValue
Gets the current point of the mouse pointer.
Declaration
public DiagramPoint? NewValue { get; }
Property Value
| Type | Description |
|---|---|
| DiagramPoint | A DiagramPoint representing the current location of the mouse pointer. |
OldValue
Gets the previous point of the mouse pointer.
Declaration
public DiagramPoint? OldValue { get; }
Property Value
| Type | Description |
|---|---|
| DiagramPoint | A DiagramPoint representing the previous location of the mouse pointer. |
TargetNodeID
Gets the target node of the connector while dragging the end point.
Declaration
public string? TargetNodeID { get; }
Property Value
| Type | Description |
|---|---|
| string | Accepts the string value. |
TargetPortID
Gets the target port of the node that is to be connected with the connector while dragging the end point.
Declaration
public string? TargetPortID { get; }
Property Value
| Type | Description |
|---|---|
| string | Accepts the string value. |