TappedEventArgs 类

定义

包含 Tapped 事件的事件数据。

有关此 API 的更多详细信息,请参阅 UWP WinRT TappedEventArgs 主题。

public ref class TappedEventArgs sealed
/// [Windows.Foundation.Metadata.ContractVersion(Microsoft.Foundation.WindowsAppSDKContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
class TappedEventArgs final
[Windows.Foundation.Metadata.ContractVersion(typeof(Microsoft.Foundation.WindowsAppSDKContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
public sealed class TappedEventArgs
Public NotInheritable Class TappedEventArgs
继承
Object Platform::Object IInspectable TappedEventArgs
属性

属性

PointerDeviceType

获取输入源的设备类型。

Position

获取触摸、鼠标或笔/触笔接触的位置。

TapCount

获取检测到点击交互的次数。

适用于