แก้ไข

แชร์ผ่าน


InputManager.PostProcessInput Event

Definition

Occurs after the PreNotifyInput handlers have finished processing the input.

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 

Event Type

Attributes

Remarks

A filter is any code that listens to PreProcessInput or PostProcessInput. Filters can modify the input staging area.

The handlers attached to PostProcessInput are invoked in reverse order so that handlers added by the users are invoked before handlers in the system.

Input is processed in WPF in the follow stages:

  1. Pre-process stage. The input manager raises the PreProcessInput event.

  2. Pre-notify stage. The input manager raises the PreNotifyInput event.

  3. The WPF input event or events are raised.

  4. Post-notify stage. The input manager raises the PostNotifyInput event.

  5. Post-process stage. The input manager raises the PostProcessInput event.

Applies to

See also