Search
Diagram.SetBehavior Method
See Also
 





Sets a value indicating how the control responds to user actions.

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

 Syntax

C#  Copy Code

public void SetBehavior (
    Behavior value,
    bool clearSelection
)

Visual Basic  Copy Code

Public Sub SetBehavior( _
    value As Behavior, _
    clearSelection As Boolean _
)

 Parameters

value

A member of the Behavior enumeration.

clearSelection

true to clear current selection, or false otherwise.

 Remarks

Some Behavior modes ignore adjustment handles. The clearSelection flag lets you clear current selection to avoid misleading users they would be able to resize, move or rotate items.

 See Also