Search
DrawNodesBehavior(T) Class
Remarks See Also
 





Implements functionality that allows users to draw nodes on the diagram canvas.

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

 Syntax

C#  Copy Code

public class DrawNodesBehavior<T> : BehaviorBase where T : DiagramNode

Visual Basic  Copy Code

Public Class DrawNodesBehavior(Of T As DiagramNode)
    Inherits BehaviorBase

 Remarks

Instances 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 Hierarchy

System.Object
    MindFusion.Diagramming.Wpf.Interaction
        MindFusion.Diagramming.Wpf.Behaviors.BehaviorBase
            MindFusion.Diagramming.Wpf.Behaviors.DrawNodesBehavior(T)
                MindFusion.Diagramming.Wpf.Behaviors.DrawControlsBehavior
                MindFusion.Diagramming.Wpf.Behaviors.DrawFreeFormsBehavior

 See Also