Dela via


DraggingState Enum

Definition

Specifies the possible states of the Dragging event.

public enum class DraggingState
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
enum class DraggingState
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
public enum DraggingState
var value = Windows.UI.Input.DraggingState.started
Public Enum DraggingState
Inheritance
DraggingState
Attributes

Windows requirements

Device family
Windows 10 (introduced in 10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v1.0)

Fields

Name Value Description
Started 0

A dragging interaction has been detected.

Continuing 1

The dragging interaction is in progress.

Completed 2

The mouse or pen/stylus contact is lifted and inertia has concluded.

Remarks

Drag must be set in the GestureSettings property to support Dragging with mouse and pen/stylus input.

Note

There is no correlation between Dragging in CrossSlidingState (touch) and DraggingState (mouse or pen/stylus).

Applies to

See also