Search
InteractionState Methods
 


 Public Methods

  Name Description

Cancel

Cancels the user interaction.

CancelNow

Instruct the interaction to terminate on the next pass.

Complete

This method is invoked to complete the interaction, usually when the user releases the left mouse button.

IsAllowed

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

IsCompleting

Returns whether the interaction has been completed successfully.

SetHandleIndex

Sets the adjustment handle tracked by this object to the specified handle.

SetItemDeleted

Notifies the interaction that its associated diagram item has been deleted.

ShouldCancelDrag

Gets a value indicating whether the interaction should terminate on the next pass.

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.

ValidateAndSetCursor

Sets the cursor depending on whether the interaction can be completed at the specified point or not.

 See Also