UIElement.Hold Event

Microsoft Silverlight will reach end of support after October 2021. Learn more.

Occurs when a Hold gesture is committed while over this UIElement.

Namespace:  System.Windows
Assembly:  System.Windows (in System.Windows.dll)

Syntax

'Declaration
Public Event Hold As EventHandler(Of GestureEventArgs)
public event EventHandler<GestureEventArgs> Hold
<uiElement Hold="eventHandler"/>

Remarks

Version Notes

Silverlight for the desktop

Do not use for a Silverlight for the desktop application.

Silverlight for Windows Phone Silverlight for Windows Phone

For information on using gestures on Silverlight for Windows Phone, see How to: Handle Manipulation Events.

Version Information

Silverlight for Windows Phone

Supported in: Windows Phone OS 7.1

Platforms

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.