共用方式為


GestureRecognizer.HoldMaxContactCount 屬性

定義

取得或設定辨識 Windows.UI.Input.GestureRecognizer.Holding 事件所需的連絡點數目上限。

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

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

屬性值

UInt32

unsigned int

uint32_t

連絡點的數目。

Windows 需求

裝置系列
Windows 10, version 2004 (已於 10.0.19041.0 引進)
API contract
Windows.Foundation.UniversalApiContract (已於 v10.0 引進)

適用於