MindFusion.Wpf Pack Programmer's Guide
BehaviorBase.CreateLink Method
See Also
 





Creates a link of the type appropriate for the current behavior.

Namespace: MindFusion.Diagramming.Wpf.Behaviors
Assembly: MindFusion.Diagramming.Wpf

 Syntax

C#  Copy Code

protected virtual DiagramLink CreateLink ()

Visual Basic  Copy Code

Protected Overridable Function CreateLink () As DiagramLink

 Return Value

An instance of the DiagramLink class.

 Remarks

Override this method to specify the type of DiagramLink, which is most appropriate for your diagram. The link is created every time the user connects two DiagramNode objects.

 See Also

BehaviorBase Members
BehaviorBase Class
MindFusion.Diagramming.Wpf.Behaviors Namespace