InputManager.PreNotifyInput イベント

定義

入力がキャンセルされなかった場合、PreProcessInput ハンドラーが入力の処理を終了すると発生します。

public:
 event System::Windows::Input::NotifyInputEventHandler ^ PreNotifyInput;
[add: System.Security.SecurityCritical]
[remove: System.Security.SecurityCritical]
public event System.Windows.Input.NotifyInputEventHandler PreNotifyInput;
public event System.Windows.Input.NotifyInputEventHandler PreNotifyInput;
[<add: System.Security.SecurityCritical>]
[<remove: System.Security.SecurityCritical>]
member this.PreNotifyInput : System.Windows.Input.NotifyInputEventHandler 
member this.PreNotifyInput : System.Windows.Input.NotifyInputEventHandler 
Public Custom Event PreNotifyInput As NotifyInputEventHandler 

イベントの種類

NotifyInputEventHandler
属性

注釈

モニターは、リッスンまたはリッスンする任意のPreNotifyInputPostNotifyInputコードです。 モニターは、入力ステージング領域を変更できません。

アタッチされた PreNotifyInput ハンドラーは逆の順序で呼び出されるため、ユーザーによって追加されたハンドラーは、システム内のハンドラーの前に呼び出されます。

入力は、次の段階で WPF で処理されます。

  1. 前処理ステージ。 入力マネージャーがイベントを PreProcessInput 発生させます。

  2. 事前通知ステージ。 入力マネージャーがイベントを PreNotifyInput 発生させます。

  3. WPF 入力イベントまたはイベントが発生します。

  4. 通知後のステージ。 入力マネージャーがイベントを PostNotifyInput 発生させます。

  5. プロセス後のステージ。 入力マネージャーがイベントを PostProcessInput 発生させます。

適用対象

こちらもご覧ください