แก้ไข

แชร์ผ่าน


PreProcessInputEventHandler Delegate

Definition

Represents the method that will handle the PreProcessInput event.

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

Parameters

sender
Object

The source of the event.

e
PreProcessInputEventArgs

The event data.

Remarks

The PreProcessInputEventHandler is used with the PreProcessInput event.

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