Search
BehaviorBase Members
Constructors Properties Methods
 


An abstract base class for classes that define how MindFusion.Diagramming 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.

 Protected Properties

  Name Description

Diagram

Gets a reference to the Diagram instance this behavior is associated with.

DiagramView

Gets a reference to the DiagramView control this interaction is associated with. (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.

ShouldMoveSelection

Gets whether the control should start moving the selection.

StartDraw

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

 Protected Methods

  Name Description

CancelDrag

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