DragCanceledState Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
The MouseAction state that indicates that dragging has been canceled.
This is not to be confused with the ActionCanceledState. This
DragCanceledState indicates that only the drag has been canceled;
not the entire MouseAction. The MouseAction can remain active even
after canceling the drag. This allows for multiple drag operations
within a single MouseAction.
public ref class DragCanceledState : Microsoft::VisualStudio::Modeling::Diagrams::MouseActionState
public class DragCanceledState : Microsoft.VisualStudio.Modeling.Diagrams.MouseActionState
type DragCanceledState = class
inherit MouseActionState
Public Class DragCanceledState
Inherits MouseActionState
- Inheritance
Constructors
DragCanceledState() |
Initializes a new instance of the DragCanceledState class. |
Methods
Next(MouseAction) |
Returns the next MouseAction state. Valid next states are: (1) HoveringState, if the current MouseAction state is Continue; (2) ActionCanceledState, if the current MouseAction state is Cancel; (3) ActionCompletedState, if the current MouseAction state is Complete; (4) state, for all other events. |