Creates a new StarDiagramConnection between the two given StarDiagramConnectionPoint
objects. The connection is then added to this given StarDiagramModel.
Namespace:
Mindscape.WpfDiagramming.StarDiagramsAssembly: Mindscape.WpfDiagramming.StarDiagrams (in Mindscape.WpfDiagramming.StarDiagrams.dll)
Version: 2.0.0.0 (2.0.0.0)
Syntax
C# |
---|
public static void CreateConnection( StarDiagramModel diagram, StarDiagramConnectionPoint fromConnectionPoint, StarDiagramConnectionPoint toConnectionPoint ) |
Visual Basic (Declaration) |
---|
Public Shared Sub CreateConnection ( _ diagram As StarDiagramModel, _ fromConnectionPoint As StarDiagramConnectionPoint, _ toConnectionPoint As StarDiagramConnectionPoint _ ) |
Parameters
- diagram
- Type: Mindscape.WpfDiagramming.StarDiagrams..::.StarDiagramModel
The StarDiagramModel that the new connection will be added to.
- fromConnectionPoint
- Type: Mindscape.WpfDiagramming.StarDiagrams..::.StarDiagramConnectionPoint
The StarDiagramConnectionPoint to be the source of the new connection.
- toConnectionPoint
- Type: Mindscape.WpfDiagramming.StarDiagrams..::.StarDiagramConnectionPoint
The StarDiagramConnectionPoint to be the destination of the new connection.