PreProcessInputEventArgs Class
Assembly: PresentationCore (in presentationcore.dll)
XML Namespace: http://schemas.microsoft.com/winfx/2006/xaml/presentation
'Declaration Public NotInheritable Class PreProcessInputEventArgs Inherits ProcessInputEventArgs 'Usage Dim instance As PreProcessInputEventArgs
public final class PreProcessInputEventArgs extends ProcessInputEventArgs
public final class PreProcessInputEventArgs extends ProcessInputEventArgs
You cannot use this managed class in XAML.
Canceling a pre-process input stops the input from being processed further. Listen for the PreNotifyInput to determine if another handler canceled a pre-process input.
The input staging area processes input into WPF events.
All PreProcessInput event handlers are called, even if one of the handlers cancels the input. To verify if a handler further up the tree canceled the input, listen for the PreNotifyInput event.
PreProcessInputEventArgs is used with the PreProcessInput event.
Input is processed in WPF in the follow stages:
-
Pre-process stage. The input manager raises the PreProcessInput event.
-
Pre-notify stage. The input manager raises the PreNotifyInput event.
-
The WPF input event or events are raised.
-
Post-notify stage. The input manager raises the PostNotifyInput event.
-
Post-process stage. The input manager raises the PostProcessInput event.
System.EventArgs
System.Windows.Input.NotifyInputEventArgs
System.Windows.Input.ProcessInputEventArgs
System.Windows.Input.PreProcessInputEventArgs
Windows 98, Windows Server 2000 SP4, Windows CE, Windows Millennium Edition, Windows Mobile for Pocket PC, Windows Mobile for Smartphone, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition
The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.