MindFusion.Wpf Pack Programmer's Guide
BehaviorBase Members
Constructors Properties Methods
 


An abstract base class for classes that defines how Diagramming for WPF reacts to users' actions with a mouse or other pointing devices.

The following tables list the members exposed by the BehaviorBase type.

 Protected Constructors

  Name Description

BehaviorBase

Initializes a new instance of the BehaviorBase class.

 Public Properties

  Name Description

Diagram

Gets the Diagram modified through this Interaction object. (Inherited from Interaction.)

 Public Methods

  Name Description

SelectController

Selects a controller based on the specified input.

SelectMouseCursor

Returns cursor to display for specified input state.

SetMouseCursor

Invoked while the mouse is moved to let your application set the mouse cursor.

StartDraw

Invoked when a user presses the left mouse button inside the diagram drawing area.

 Protected Methods

  Name Description

Cancel

Interaction.Cancel override.

CreateLink

Creates a link of the type appropriate for the current behavior.

OnMouseDown

Interaction.OnMouseDown override.

OnMouseMove

Interaction.OnMouseMove override.

OnMouseUp

Interaction.OnMouseUp override.

SelectHandleCursor

Returns cursor to display for adjustment handle targeted by specified input state.

SetModfCursor

Updates the current cursor according to the specified cursor position and diagram state.

StartDrawCommon

Invoked by the control when the user presses the left mouse button.

 See Also

BehaviorBase Class
MindFusion.Diagramming.Wpf.Behaviors Namespace