Search
InteractionState Members
Constructors Methods
 


Encapsulates the current state of user interaction with the control.

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

 Public Constructors

  Name Description

InteractionState

Initializes a new instance of the InteractionState class.

 Public Methods

  Name Description

cancel

Cancels the user interaction. Call this method to cancel interaction, usually in response to the user clicking the right mouse button while dragging.

commit

Invoked to commit the changes made by the user.

isAllowed

Checks whether the current interaction can be completed at the specified point.

start

This method is invoked in the beginning of the interaction, usually when the user presses the left mouse button over a modification handle.

update

This method is invoked to update the interaction state, usually in response to the user moving the mouse after the modification has started.

 See Also