Keyboard.PreviewLostKeyboardFocus Attached Event
Assembly: PresentationCore (in PresentationCore.dll)
XML Namespace: http://schemas.microsoft.com/winfx/2006/xaml/presentation
Keyboard.PreviewLostKeyboardFocus is an attached event. For more information, see Routed Events Overview.
If the PreviewGotKeyboardFocus event or the PreviewLostKeyboardFocus event is handled, keyboard focus will not change.
Keyboard focus refers to the object that is receiving keyboard input. The element with keyboard focus will have IsKeyboardFocused set to true. There can be only one element with keyboard focus on the entire desktop. Logical focus refers to the object within a focus scope that has focus. For more information on focus, keyboard focus, and logical focus, see the Input Overview and the Focus Overview.
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 EditionThe Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.