Gets or sets a custom BehaviorBase-derived object specifying how WpfDiagram responds to mouse input.
Namespace: MindFusion.Diagramming.Wpf
Assembly: MindFusion.Diagramming.Wpf
C# Copy Code |
---|
public BehaviorBase CustomBehavior { get; set; } |
Visual Basic Copy Code |
---|
Public Property CustomBehavior As BehaviorBase |
An instance of a BehaviorBase-derived class. The default value is null (Nothing in Visual Basic).
WpfDiagram provides several stock implementations of the BehaviorBase class that can be used by assigning a member of the Behavior enumeration to the view's Behavior property. Create a custom behavior class only if the predefined ones don't meet your application requirements.
WpfDiagram Programmer's Guide | © 2023 MindFusion |