GestureRecognizer.HoldMinContactCount 属性

定义

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

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

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

属性值

UInt32

unsigned int

uint32_t

接触点数。

Windows 要求

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

适用于