Επεξεργασία

Κοινή χρήση μέσω


ProcessInputEventHandler Delegate

Definition

Represents the method that will handle the PostProcessInput event.

public delegate void ProcessInputEventHandler(System::Object ^ sender, ProcessInputEventArgs ^ e);
public delegate void ProcessInputEventHandler(object sender, ProcessInputEventArgs e);
type ProcessInputEventHandler = delegate of obj * ProcessInputEventArgs -> unit
Public Delegate Sub ProcessInputEventHandler(sender As Object, e As ProcessInputEventArgs)

Parameters

sender
Object

The source of the event.

e
ProcessInputEventArgs

The event data.

Remarks

The ProcessInputEventHandler is used with the PostProcessInput event.

Process input events enable access to the InputManager staging area, which processes input into WPF events.

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.

Extension Methods

GetMethodInfo(Delegate)

Gets an object that represents the method represented by the specified delegate.

Applies to

See also