PreProcessInputEventHandler Delegate

 

Represents the method that will handle the PreProcessInput event.

Namespace:   System.Windows.Input
Assembly:  PresentationCore (in PresentationCore.dll)

public delegate void PreProcessInputEventHandler(
	object sender,
	PreProcessInputEventArgs e
)

Parameters

sender
Type: System.Object

The source of the event.

e
Type: System.Windows.Input.PreProcessInputEventArgs

The event data.

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.

.NET Framework
Available since 3.0
Return to top
Show: