HoldingState Enumeration

Specifies the state of the Holding event.

Syntax

public enum class HoldingState  

Remarks

To support Holding with touch and pen/stylus input, specify Hold in the GestureSettings property.

To support Holding with mouse input, specify HoldWithMouse in the GestureSettings property.

The Holding event is fired twice: Once when holding starts (started) and again when holding ends (completed or canceled).

This API is not implemented and will throw an exception if called.

Members

Member Value Description
Canceled An additional contact is detected, a subsequent gesture (such as a slide) is detected, or the CompleteGesture method is called.
Completed The single contact is lifted.
Started A single contact has been detected and a time threshold is crossed without the contact being lifted, another contact detected, or another gesture started.
Note The press and hold time threshold can be set in the Hardware and Sound control panel.

Requirements

Namespace: Windows.UI.Input

Metadata: windows.winmd

See also

Reference

Windows.UI.Input Namespace