コントロールの特定のイベントを使用して1本の指とジェスチャを処理Tapped
し、イベントを使用して1本の指でスワイプするジェスチャを処理できます。DoubleTapped
Holding
ManipulationDelta
ManipulationStarted
しかし、ピンチ、ズーム、回転のジェスチャを処理する方法がわかりません。誰かがそれを行う方法について詳しく説明できますか?
コントロールの特定のイベントを使用して1本の指とジェスチャを処理Tapped
し、イベントを使用して1本の指でスワイプするジェスチャを処理できます。DoubleTapped
Holding
ManipulationDelta
ManipulationStarted
しかし、ピンチ、ズーム、回転のジェスチャを処理する方法がわかりません。誰かがそれを行う方法について詳しく説明できますか?
ManipulationDeltaイベントは、ManipulationModeプロパティが次のように設定されていると仮定してargs.Delta.Scale/Rotation値を提供します。
ManipulationMode =
ManipulationModes.TranslateX |
ManipulationModes.TranslateY |
ManipulationModes.Rotate |
ManipulationModes.Scale |
ManipulationModes.TranslateInertia;
(またはそのようなもの)。