Implements functionality that allows users to draw nodes on the diagram canvas.
Namespace: MindFusion.Diagramming.WinForms.Behaviors
Assembly: MindFusion.Diagramming.WinForms
SyntaxC#
Copy Code
|
|---|
public class DrawNodesBehavior<T> : |
Visual Basic
Copy Code
|
|---|
Public Class DrawNodesBehavior(Of T As DiagramNode) |
RemarksInstances of this class are created automatically when you set the Behavior property of DiagramView to one of the Draw* values from Behavior enumeration. If you need to let users draw nodes of a custom DiagramNode subclass, you can assign an instance of DrawNodesBehavior to the CustomBehavior property of DiagramView.
Inheritance HierarchySystem.Object![]()
MindFusion.Diagramming.WinForms.Interaction
MindFusion.Diagramming.WinForms.Behaviors.BehaviorBase
MindFusion.Diagramming.WinForms.Behaviors.DrawNodesBehavior(T)
See Also