Udostępnij za pośrednictwem


GestureRecognizer.InertiaTranslationDisplacement Property

Definition

Gets or sets a value that indicates the relative change in the screen location of an object from the start of inertia to the end of inertia (when the translation manipulation is complete).

For more details on this API, please see the the UWP WinRT InertiaTranslationDisplacement topic.

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

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

Property Value

Single

float

The relative change in screen location, in device-independent pixels (DIP).

Applies to