Click or drag to resize
RadDiagramAddConnection Method (IShape, IShape, Boolean)
Adds a new connection to the diagram connecting the given source and target shapes.

Namespace: Telerik.WinControls.UI
Assembly: Telerik.WinControls.RadDiagram (in Telerik.WinControls.RadDiagram.dll) Version: 2018.3.911.40 (2018.3.911.40)
public IConnection AddConnection(
	IShape source,
	IShape target,
	bool isUndoable = false


Type: Telerik.Windows.Diagrams.CoreIShape
The source or start shape of the connection.
Type: Telerik.Windows.Diagrams.CoreIShape
The target or end shape of the connection.
isUndoable (Optional)
Type: SystemBoolean
If set to true this action will be recorded in the undo stack.

Return Value

Type: IConnection
See Also