An abstract base class for types that define how the control reacts to users' actions with a mouse or other pointing devices.
The following tables list the members exposed by the BehaviorBase type.
Name | Description | |
---|---|---|
Initializes a new instance of the BehaviorBase class. |
Name | Description | |
---|---|---|
Gets or sets an InteractionState instance that tracks the modification currently being done on an item. |
||
Gets or sets the position of the mouse when its button has been pressed. |
Name | Description | |
---|---|---|
The Diagram object that is being modified. (Inherited from Interaction.) |
Name | Description | |
---|---|---|
Invoked while the mouse is moved to let Behavior objects set the mouse cursor depending on the context. |
||
Invoked when a user presses the left mouse button inside the diagram drawing area. |
Name | Description | |
---|---|---|
Creates a link of the type appropriate for the current behavior. |
||
Interaction.OnMouseDown override. |
||
Raises the MouseMove event. |
||
Interaction.OnMouseUp override. |
||
Updates the current cursor according to the specified cursor position and diagram state. |
||
Invoked by the control when the user presses the left mouse button. |
Name | Description | |
---|---|---|
Called when a mouse button is pressed. (Inherited from Interaction.) |
||
Called when the mouse pointer is moved over the control. (Inherited from Interaction.) |
||
Called when a mouse button is released. (Inherited from Interaction.) |