-api-id | -api-type |
---|---|
E:Windows.UI.Input.GestureRecognizer.Holding |
winrt event |
Occurs when a user performs a press and hold gesture (with a single touch, mouse, or pen/stylus contact).
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).
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