DiagramLite Programmer's Guide
Diagram.CustomBehavior Property
See Also
 





Gets or sets a custom behavior object specifying how DiagramLite responds to mouse input.

Namespace: MindFusion.Diagramming
Assembly: MindFusion.Diagramming.Silverlight

 Syntax

C#  Copy Code

public BehaviorBase CustomBehavior { get; set; }

Visual Basic  Copy Code

Public Property CustomBehavior As BehaviorBase

 Property Value

An instance of a BehaviorBase-derived class. The default value is null (Nothing in Visual Basic).

 Remarks

DiagramLite provides several stock implementations of the BehaviorBase class that can be used by assigning a member of the Behavior enumeration to the diagram's Behavior property. Create a custom behavior class only if the predefined ones don't meet your application requirements.

 See Also

Diagram Members
Diagram Class
MindFusion.Diagramming Namespace