Click or drag to resize
RadDiagramAddConnection Method (Point, Point, Boolean)
Adds a floating connection.

Namespace: Telerik.WinControls.UI
Assembly: Telerik.WinControls.RadDiagram (in Telerik.WinControls.RadDiagram.dll) Version: 2018.2.619.40 (2018.2.619.40)
Syntax
public IConnection AddConnection(
	Point startPoint,
	Point endPoint,
	bool isUndoable = false
)

Parameters

startPoint
Type: Telerik.Windows.Diagrams.CorePoint
The source (starting) point of the connection.
endPoint
Type: Telerik.Windows.Diagrams.CorePoint
The target (end) point of the connection.
isUndoable (Optional)
Type: SystemBoolean
True, if this action is undoable.

Return Value

Type: IConnection
Returns the added connection.
See Also