GestureRecognizer.ManipulationInertiaStarting イベント

定義

操作中にすべての接触点が持ち上げられ、操作の速度が慣性動作を開始するのに十分な大きさである場合に発生します (入力ポインターがリフトされた後も移動、拡張、または回転が続行されます)。

// Register
event_token ManipulationInertiaStarting(TypedEventHandler<GestureRecognizer, ManipulationInertiaStartingEventArgs const&> const& handler) const;

// Revoke with event_token
void ManipulationInertiaStarting(event_token const* cookie) const;

// Revoke with event_revoker
GestureRecognizer::ManipulationInertiaStarting_revoker ManipulationInertiaStarting(auto_revoke_t, TypedEventHandler<GestureRecognizer, ManipulationInertiaStartingEventArgs const&> const& handler) const;
public event TypedEventHandler<GestureRecognizer,ManipulationInertiaStartingEventArgs> ManipulationInertiaStarting;
function onManipulationInertiaStarting(eventArgs) { /* Your code */ }
gestureRecognizer.addEventListener("manipulationinertiastarting", onManipulationInertiaStarting);
gestureRecognizer.removeEventListener("manipulationinertiastarting", onManipulationInertiaStarting);
- or -
gestureRecognizer.onmanipulationinertiastarting = onManipulationInertiaStarting;
Public Custom Event ManipulationInertiaStarting As TypedEventHandler(Of GestureRecognizer, ManipulationInertiaStartingEventArgs) 

イベントの種類

注釈

慣性は、静止状態またはその速度の変化に抵抗するオブジェクトの傾向です。

このイベントは、慣性処理の前に発生します。

この操作の慣性動作は、このイベントのハンドラーでカスタマイズできます。 たとえば、慣性は、特定の距離または UI が表示された後に終了するように設定できます。

注意

これらの設定は、イベントの後にカスタマイズすることはできません。

適用対象

こちらもご覧ください