Udostępnij za pośrednictwem


DragCompletedState Class

Definition

The MouseAction state that indicates that dragging has completed. This is not to be confused with the ActionCompletedState. This
DragCompletedState indicates that only the drag has been completed;
not the entire MouseAction. The MouseAction can remain active even after completing the drag. This allows for multiple drag operations within a single MouseAction.

public ref class DragCompletedState : Microsoft::VisualStudio::Modeling::Diagrams::MouseActionState
public class DragCompletedState : Microsoft.VisualStudio.Modeling.Diagrams.MouseActionState
type DragCompletedState = class
    inherit MouseActionState
Public Class DragCompletedState
Inherits MouseActionState
Inheritance
DragCompletedState

Constructors

DragCompletedState()

Initializes a new instance of the DragCompletedState class.

Methods

Next(MouseAction)

Returns the next MouseAction state. Valid next states are: (1) HoveringState, if the current MouseAction event is Continue; (2) ActionCanceledState, if the current MouseAction event is Cancel; (3) ActionCompletedState, if the current MouseAction event is Complete; (4) this state, for all other events.

Applies to