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 

イベントの種類

属性

注釈

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

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

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

  1. 前処理ステージ。 入力マネージャーによって イベントが PreProcessInput 発生します。

  2. 事前通知ステージ。 入力マネージャーによって イベントが PreNotifyInput 発生します。

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

  4. 通知後ステージ。 入力マネージャーによって イベントが PostNotifyInput 発生します。

  5. プロセス後のステージ。 入力マネージャーによって イベントが PostProcessInput 発生します。

適用対象

こちらもご覧ください