Skip to content

Latest commit

 

History

History
25 lines (17 loc) · 4.48 KB

gesturerecognizer_holding.md

File metadata and controls

25 lines (17 loc) · 4.48 KB
-api-id -api-type
E:Windows.UI.Input.GestureRecognizer.Holding
winrt event

Windows.UI.Input.GestureRecognizer.Holding

-description

Occurs when a user performs a press and hold gesture (with a single touch, mouse, or pen/stylus contact).

-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).

-examples

-see-also

TypedEventHandler, HoldingEventArgs, Input and interactions, User interaction mode sample, Focus visuals sample, Input: Device capabilities sample, Input: Simplified ink sample, Input: Windows 8 gestures sample, Input: XAML user input events sample, XAML scrolling, panning, and zooming sample, DirectX touch input sample, Input: Manipulations and gestures (C++) sample, Input: Touch hit testing sample, Input source identification sample, Touch injection sample, Win32 touch hit-testing sample