GestureRecognizer.Holding Event

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

Syntax

public:
event TypedEventHandler<GestureRecognizer^ , HoldingEventArgs^ >^ Holding {
         EventRegistrationToken add (TypedEventHandler<GestureRecognizer^ , HoldingEventArgs^ >^ value);
         void remove (EventRegistrationToken token);
}  

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.

Requirements

Namespace: Windows.UI.Input

Metadata: windows.winmd

See also

Reference

GestureRecognizer Class

GestureRecognizer Members

Windows.UI.Input Namespace