Encapsulates the current state of user interaction with the control.
The following tables list the members exposed by the InteractionState type.
Name | Description | |
---|---|---|
Overloaded. |
Name | Description | |
---|---|---|
Contains the original state of the items that are being modified. |
Name | Description | |
---|---|---|
Gets or sets the type of Action currently performed by the user in the Diagram. |
||
Gets or sets the index of the selection handle to be modified. |
||
Gets a reference to the DiagramItem to be created or modified. |
||
Gets or sets the current location of the mouse pointer. |
||
Gets the horizontal distance the mouse has been moved since the modification began. |
||
Gets the vertical distance the mouse has been moved since the modification began. |
||
Stores the original state of items from before the modification began. |
||
Gets or sets the mouse position where the interaction starts. |
Name | Description | |
---|---|---|
Cancels the user interaction. |
||
Instruct the interaction to terminate on the next pass. |
||
Invoked to commit the changes made by the user. |
||
Checks whether the current interaction can be completed at the specified point. |
||
Gets a value indicating whether the interaction should terminate on the next pass. |
||
This method is invoked in the beginning of the interaction, usually when the user presses the left mouse button over a modification handle. |
||
This method is invoked to update the interaction state, usually in response to the user moving the mouse after the modification has started. |