共用方式為


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

備註

如果將 InertiaTranslationDisplacement 指派為值,則會忽略 InertiaTranslationDeceleration。

適用於

另請參閱