Sdílet prostřednictvím


GestureRecognizer.HoldRadius Property

Definition

Gets or sets the radius of the contact points recognized for the Windows.UI.Input.GestureRecognizer.Holding event.

public:
 property float HoldRadius { float get(); void set(float value); };
float HoldRadius();

void HoldRadius(float value);
public float HoldRadius { get; set; }
var single = gestureRecognizer.holdRadius;
gestureRecognizer.holdRadius = single;
Public Property HoldRadius As Single

Property Value

Single

float

The radius of the contact points, in device-independent pixels (DIP).

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