Dela via


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).

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 pixel (DIP).

Applies to

See also