共用方式為


Control.OnTap Method

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

Called before the Tap event occurs.

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

Syntax

'Declaration
Protected Overridable Sub OnTap ( _
    e As GestureEventArgs _
)
protected virtual void OnTap(
    GestureEventArgs e
)

Parameters

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.