Freigeben über


UIElement.Tap Event

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

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

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

Syntax

'Declaration
Public Event Tap As EventHandler(Of GestureEventArgs)
public event EventHandler<GestureEventArgs> Tap
<uiElement Tap="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.