Language

InputManager.ProcessInput(InputEventArgs) メソッド

定義

指定した入力を同期的に処理します。

public:
 bool ProcessInput(System::Windows::Input::InputEventArgs ^ input);
[System.Security.SecurityCritical]
public bool ProcessInput(System.Windows.Input.InputEventArgs input);
public bool ProcessInput(System.Windows.Input.InputEventArgs input);
[<System.Security.SecurityCritical>]
member this.ProcessInput : System.Windows.Input.InputEventArgs -> bool
member this.ProcessInput : System.Windows.Input.InputEventArgs -> bool
Public Function ProcessInput (input As InputEventArgs) As Boolean

パラメーター

input
InputEventArgs

処理する入力。

返品

true すべての入力イベントが処理された場合。それ以外の場合は false。

属性

例外

input は nullです。

注釈

フィルターは、 PreProcessInput または PostProcessInputをリッスンする任意のコードです。 フィルターは、入力ステージング領域を変更できます。

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

指定された入力は、すべてのフィルターとモニターによって処理され、最終的に入力イベントとして適切な要素にディスパッチされます。

入力は、次のステージのWPFで処理されます。

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

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

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

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

  5. 後処理ステージ。 入力マネージャーは、 PostProcessInput イベントを発生させます。

適用対象