public : enum class HoldingState
enum class winrt::Windows::UI::Input::HoldingState : int32_t
public enum HoldingState
Public Enum HoldingState
var value = Windows.UI.Input.HoldingState.canceled;
Windows 10 requirements
Windows 10 (introduced v10.0.10240.0)
Windows.Foundation.UniversalApiContract (introduced v1)
|Canceled Canceled Canceled Canceled Canceled||2||
An additional contact is detected, a subsequent gesture (such as a slide) is detected, or the CompleteGesture method is called.
|Completed Completed Completed Completed Completed||1||
The single contact is lifted.
|Started Started Started Started Started||0||
A single contact has been detected and a time threshold is crossed without the contact being lifted, another contact detected, or another gesture started.
The press and hold time threshold can be set in the Hardware and Sound control panel.
The Holding event is fired twice: Once when holding starts (started) and again when holding ends (completed or canceled).
Send feedback about: