GestureRecognizer.ManipulationInertiaStarting 事件

定义

当操作期间所有接触点都抬起,并且操作速度足以启动惯性行为, (转换、扩展或旋转在) 提升输入指针后继续时发生。

有关此 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) 

事件类型

适用于

另请参阅