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


Implements the Pan and PanAndModify behaviors.

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

 Public Constructors

  Name Description

PanBehavior

Initializes a new instance of the PanBehavior class.

 Public Properties

  Name Description

Diagram

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

EnableAnimation

Gets or sets a value indicating whether pan animation is enabled.

 Public Methods

  Name Description

SelectController

Selects a controller based on the specified input.

SelectMouseCursor

Returns cursor to display for specified input state. (Inherited from BehaviorBase.)

SetMouseCursor

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

StartDraw

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

 Protected Methods

  Name Description

Cancel

Interaction.Cancel override. (Inherited from BehaviorBase.)

CreateLink

Creates a link of the type appropriate for the current behavior. (Inherited from BehaviorBase.)

OnMouseDown

BehaviorBase.OnMouseDown override. Invoked when the mouse button is pressed.

OnMouseMove

BehaviorBase.OnMouseMove override. Invoked when the mouse moves.

OnMouseUp

BehaviorBase.OnMouseUp override. Invoked when the mouse button is released.

SelectHandleCursor

Returns cursor to display for adjustment handle targeted by specified input state. (Inherited from BehaviorBase.)

SetModfCursor

Updates the current cursor according to the specified cursor position and diagram state. (Inherited from BehaviorBase.)

StartDrawCommon

BehaviorBase.StartDrawCommon override. Invoked by the control when the user presses the left mouse button.

 See Also

PanBehavior Class
MindFusion.Diagramming.Wpf.Behaviors Namespace