GestureRecognizer.TranslationMinContactCount 属性

定义

获取或设置识别翻译 (或平移) 事件所需的最小接触点数。

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

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

属性值

UInt32

unsigned int

uint32_t

接触点数。

Windows 要求

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

适用于