Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

PreProcessInputEventHandler Delegate

 

Represents the method that will handle the PreProcessInput event.

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

Public Delegate Sub PreProcessInputEventHandler (
	sender As Object,
	e As PreProcessInputEventArgs
)

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:
© 2017 Microsoft