共用方式為


GestureRecognizer.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) 

事件類型

適用於

另請參閱