Dela via


GestureRecognizer.HoldStartDelay Property

Definition

Gets or sets the time threshold at which the contacts are recognized for the Windows.UI.Input.GestureRecognizer.Holding event.

public:
 property TimeSpan HoldStartDelay { TimeSpan get(); void set(TimeSpan value); };
TimeSpan HoldStartDelay();

void HoldStartDelay(TimeSpan value);
public System.TimeSpan HoldStartDelay { get; set; }
var timeSpan = gestureRecognizer.holdStartDelay;
gestureRecognizer.holdStartDelay = timeSpan;
Public Property HoldStartDelay As TimeSpan

Property Value

The TimeSpan.

Windows requirements

Device family
Windows 10, version 2004 (introduced in 10.0.19041.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v10.0)

Applies to