Occurs when a user performs a press and hold gesture (with a single touch, mouse, or pen/stylus contact).
public:
event TypedEventHandler<GestureRecognizer^ , HoldingEventArgs^ >^ Holding {
EventRegistrationToken add (TypedEventHandler<GestureRecognizer^ , HoldingEventArgs^ >^ value);
void remove (EventRegistrationToken token);
}
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.
Namespace: Windows.UI.Input
Metadata: windows.winmd