共用方式為


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 引進)

適用於