Search
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.

 Protected Properties

  Name Description

Diagram

Gets a reference to the Diagram instance this behavior is associated with. (Inherited from BehaviorBase.)

DiagramView

Gets a reference to the DiagramView control this interaction is associated with. (Inherited from Interaction.)

 Public Methods

  Name Description

SetMouseCursor

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

ShouldMoveSelection

Gets whether the control should start moving the selection. (Inherited from BehaviorBase.)

StartDraw

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

 Protected Methods

  Name Description

CancelDrag

Interaction.CancelDrag 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.

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