Implements functionality that allows users to draw nodes on the diagram canvas, when the interaction starts from an unoccupied point, and to connect nodes with links when the interaction starts from an existing node.
Namespace: MindFusion.Diagramming.Wpf.Behaviors
Assembly: MindFusion.Diagramming.Wpf
SyntaxC#
Copy Code
|
|---|
public class LinkNodesBehavior<T> : BehaviorBase where T : DiagramNode |
Visual Basic
Copy Code
|
|---|
Public Class LinkNodesBehavior(Of T As DiagramNode) |
RemarksInstances of this class are created automatically when you set the Behavior property of DiagramView to one of the Link* values from Behavior enumeration. If you need to let users draw nodes of a custom DiagramNode subclass, you can assign an instance of LinkNodesBehavior to the CustomBehavior property of DiagramView.
Inheritance HierarchySystem.Object![]()
MindFusion.Diagramming.Wpf.Interaction
MindFusion.Diagramming.Wpf.Behaviors.BehaviorBase
MindFusion.Diagramming.Wpf.Behaviors.LinkNodesBehavior(T)
MindFusion.Diagramming.Wpf.Behaviors.CustomTypesBehavior
MindFusion.Diagramming.Wpf.Behaviors.LinkControlsBehavior
MindFusion.Diagramming.Wpf.Behaviors.LinkFreeFormsBehavior
See Also