Partager via


DragPendingState Class

Definition

The MouseAction state that indicates that the user has pressed down the mouse button but not yet lifted up on the mouse button or not yet moved the mouse far enough to initiate dragging.

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

Constructors

DragPendingState()

Initializes a new instance of the DragPendingState.

Methods

Next(MouseAction)

Returns the next MouseAction state. Valid next states are: (1) DraggingState, if the user has moved the mouse far enough to invoke a drag; (2) ClickedState, if the user has lifted up on the mouse button without moving it far enough to invoke a drag; (3) DragCanceledState, if the current MouseAction state is Cancel; (4) this state, for all other events.

Applies to