UIElement.ManipulationDelta イベント

定義

操作中に入力デバイスが位置を変更したときに発生します。

public:
 virtual event ManipulationDeltaEventHandler ^ ManipulationDelta;
// Register
event_token ManipulationDelta(ManipulationDeltaEventHandler const& handler) const;

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

// Revoke with event_revoker
UIElement::ManipulationDelta_revoker ManipulationDelta(auto_revoke_t, ManipulationDeltaEventHandler const& handler) const;
public event ManipulationDeltaEventHandler ManipulationDelta;
function onManipulationDelta(eventArgs) { /* Your code */ }
uIElement.addEventListener("manipulationdelta", onManipulationDelta);
uIElement.removeEventListener("manipulationdelta", onManipulationDelta);
- or -
uIElement.onmanipulationdelta = onManipulationDelta;
Public Custom Event ManipulationDelta As ManipulationDeltaEventHandler 
<uiElement ManipulationDelta="eventhandler"/>

イベントの種類

注釈

カスタム コントロールと操作エクスペリエンスについては、「 GestureRecognizer」を参照してください。

要素は、操作イベント ソースとして または 以外NoneSystemManipulationMode 値を持っている必要があります。 の既定値 ManipulationMode は です System。これにより、組み込みの制御ロジックで操作を処理できますが、アプリ コードで操作イベントを処理することはできません。 操作を処理する場合は、 を にAll設定するか、特定の ManipulationModes 値に設定ManipulationModeします。 詳細については、「」を参照してください[ManipulationMode

ManipulationDelta はルーティング イベントです。 イベントが未処理であるために親要素にバブルアップすることが許可されている場合、 ManipulationModeNone または System 親要素にある場合でも、親要素でイベントを処理できます。 ルーティング イベントの概念の詳細については、「 イベントとルーティング イベントの概要」を参照してください。

タッチ操作や、タッチ操作の結果に発生する対話/操作イベントについては、ヒット テストで要素が表示されない場合、イベント ソースとして使用したり、操作に関連付けられたイベントを起動することはできません。 UIElement.Visibility はVisible である必要があります。 派生型の他のプロパティも、ヒット テストの可視性に影響します。 詳しくは、「イベントとルーティング イベントの概要」をご覧ください。

ManipulationDelta は、イベントのイベント データが Handled とマークされている場合でも呼び出されるルートにイベント ハンドラーをアタッチする機能をサポートしています。 「 AddHandler」を参照してください。

適用対象

こちらもご覧ください