GestureRecognizer.TapMinContactCount 属性

定义

获取或设置识别 Windows.UI.Input.GestureRecognizer.Tapped 事件所需的最小接触点数。

public:
 property unsigned int TapMinContactCount { unsigned int get(); void set(unsigned int value); };
uint32_t TapMinContactCount();

void TapMinContactCount(uint32_t value);
public uint TapMinContactCount { get; set; }
var uInt32 = gestureRecognizer.tapMinContactCount;
gestureRecognizer.tapMinContactCount = uInt32;
Public Property TapMinContactCount As UInteger

属性值

UInt32

unsigned int

uint32_t

接触点数。

Windows 要求

设备系列
Windows 10, version 2004 (在 10.0.19041.0 中引入)
API contract
Windows.Foundation.UniversalApiContract (在 v10.0 中引入)

适用于