Table of Contents

Class GestureSettings

Namespace
Icy.Input.Gestures
Assembly
IcyUI.dll

Holds the thresholds of gesture recognition (see IGestureEvents).

public class GestureSettings
Inheritance
GestureSettings
Inherited Members
Extension Methods

Properties

DisplayScaleSource

Gets or sets the source of the display scale used to convert Slop to physical pixels.

public Func<float> DisplayScaleSource { get; set; }

Property Value

Func<float>

Remarks

IcyConfiguration wires it to DisplayScale. Defaults to a constant 1. Non-finite or non-positive results are treated as 1.

HoldDelay

Gets or sets how long a touch or left-mouse press must stay inside Slop to raise Held. Defaults to 0.5 seconds.

public TimeSpan HoldDelay { get; set; }

Property Value

TimeSpan

MultiTapDelay

Gets or sets the longest gap between two taps that still continues a multi-tap sequence (see Count). Defaults to 0.3 seconds.

public TimeSpan MultiTapDelay { get; set; }

Property Value

TimeSpan

Slop

Gets or sets how far a pointer may move, in device-independent pixels, before a press becomes a drag. Defaults to 10.

public float Slop { get; set; }

Property Value

float

Remarks

Converted to physical pixels through DisplayScaleSource, so a finger may wobble the same physical distance at every display scale. The UI scale (EffectiveScale) deliberately doesn't apply.