Condividi tramite


DragCanceledState Class

Definition

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
DragCanceledState

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.

Applies to