DraggingState Enum

Definition

Specifies the possible states of the Dragging event.

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

Fields

Completed 2

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

Continuing 1

The dragging interaction is in progress.

Started 0

A dragging interaction has been detected.

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