GestureRecognizer.ManipulationStarted 事件

定义

当一个或多个输入点已启动且后续运动 (平移、扩展或旋转) 已开始时发生。

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

// Register
event_token ManipulationStarted(TypedEventHandler<GestureRecognizer, ManipulationStartedEventArgs const&> const& handler) const;

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

// Revoke with event_revoker
GestureRecognizer::ManipulationStarted_revoker ManipulationStarted(auto_revoke_t, TypedEventHandler<GestureRecognizer, ManipulationStartedEventArgs const&> const& handler) const;
public event TypedEventHandler<GestureRecognizer,ManipulationStartedEventArgs> ManipulationStarted;
function onManipulationStarted(eventArgs) { /* Your code */ }
gestureRecognizer.addEventListener("manipulationstarted", onManipulationStarted);
gestureRecognizer.removeEventListener("manipulationstarted", onManipulationStarted);
- or -
gestureRecognizer.onmanipulationstarted = onManipulationStarted;
Public Custom Event ManipulationStarted As TypedEventHandler(Of GestureRecognizer, ManipulationStartedEventArgs) 

事件类型

适用于

另请参阅