GestureRecognizer.ManipulationInertiaStarting 事件
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
發生于操作期間所有接觸點都會增益,且操作的速度足以在輸入指標隨即隨即轉移、展開或旋轉之後起始慣性行為,) (轉、展開或旋轉。
如需此 API 的詳細資訊,請參閱 UWP WinRT 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)