UIElement.ManipulationInertiaStarting イベント

定義

操作中に入力デバイスが UIElement オブジェクトとのコンタクトを失ったときと慣性が開始したときに発生します。

public:
 virtual event ManipulationInertiaStartingEventHandler ^ ManipulationInertiaStarting;
// Register
event_token ManipulationInertiaStarting(ManipulationInertiaStartingEventHandler const& handler) const;

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

// Revoke with event_revoker
UIElement::ManipulationInertiaStarting_revoker ManipulationInertiaStarting(auto_revoke_t, ManipulationInertiaStartingEventHandler const& handler) const;
public event ManipulationInertiaStartingEventHandler ManipulationInertiaStarting;
function onManipulationInertiaStarting(eventArgs) { /* Your code */ }
uIElement.addEventListener("manipulationinertiastarting", onManipulationInertiaStarting);
uIElement.removeEventListener("manipulationinertiastarting", onManipulationInertiaStarting);
- or -
uIElement.onmanipulationinertiastarting = onManipulationInertiaStarting;
Public Custom Event ManipulationInertiaStarting As ManipulationInertiaStartingEventHandler 
<uiElement ManipulationInertiaStarting="eventhandler"/>

イベントの種類

注釈

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

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

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

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

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

適用対象

こちらもご覧ください