GestureRecognizer.InertiaTranslationDeceleration Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
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
- Input and interactions
- User interaction mode sample
- Focus visuals sample
- Input: Device capabilities sample
- Input: Simplified ink sample
- Input: Windows 8 gestures sample
- Input: XAML user input events sample
- XAML scrolling, panning, and zooming sample
- DirectX touch input sample
- Input: Manipulations and gestures (C++) sample
- Input: Touch hit testing sample
- Input source identification sample
- Touch injection sample
- Win32 touch hit-testing sample
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for