InputManager.PostProcessInput 事件
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
發生在 PreNotifyInput 處理器完成輸入處理後。
public:
event System::Windows::Input::ProcessInputEventHandler ^ PostProcessInput;
[add: System.Security.SecurityCritical]
[remove: System.Security.SecurityCritical]
public event System.Windows.Input.ProcessInputEventHandler PostProcessInput;
public event System.Windows.Input.ProcessInputEventHandler PostProcessInput;
[<add: System.Security.SecurityCritical>]
[<remove: System.Security.SecurityCritical>]
member this.PostProcessInput : System.Windows.Input.ProcessInputEventHandler
member this.PostProcessInput : System.Windows.Input.ProcessInputEventHandler
Public Custom Event PostProcessInput As ProcessInputEventHandler
事件類型
- 屬性
備註
過濾器是任何會 PreProcessInput 監聽 或 PostProcessInput的程式碼。 過濾器可以修改輸入暫存區。
所附加 PostProcessInput 的處理器以反向順序呼叫,使使用者新增的處理器在系統中的處理器之前被呼叫。
輸入在 WPF 中會依以下階段進行處理:
前處理階段。 輸入管理器會觸發事件 PreProcessInput 。
預通知階段。 輸入管理器會觸發事件 PreNotifyInput 。
WPF 輸入事件或事件會被觸發。
通知之後的階段。 輸入管理器會觸發事件 PostNotifyInput 。
後處理階段。 輸入管理器會觸發事件 PostProcessInput 。