Delen via


GestureRecognizer.InertiaTranslationDeceleration Property

Definition

Gets or sets a value that indicates the rate of deceleration from the start of inertia to the end of inertia (when the translation manipulation is complete).

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

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

Property Value

Single

float

The rate of deceleration, in device-independent pixel (DIP)/ms2.

Remarks

If InertiaTranslationDisplacement is assigned a value, InertiaTranslationDeceleration is ignored.

Applies to

See also