Share via


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) 

事件類型

適用於

另請參閱