GestureRecognizer.InertiaTranslationDeceleration 属性

定义

获取或设置一个值,该值指示转换操作完成时从惯性开始到惯性结束 () 减速率。

有关此 API 的更多详细信息,请参阅 UWP WinRT InertiaTranslationDeceleration 主题。

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

属性值

Single

float

减速率(以与设备无关的像素为单位) (DIP) /ms2

适用于