'Declaration Public Event PreviewLostKeyboardFocus As KeyboardFocusChangedEventHandler
public event KeyboardFocusChangedEventHandler PreviewLostKeyboardFocus
Event Data
The event handler receives an argument of type KeyboardFocusChangedEventArgs containing data related to this event. The following KeyboardFocusChangedEventArgs properties provide information specific to this event.
Property | Description |
---|---|
Device | Gets the input device that initiated this event. (Inherited from System.Windows.Input.InputEventArgs) |
Handled | Gets or sets a value that indicates the present state of the event handling for a routed event as it travels the route. (Inherited from System.Windows.RoutedEventArgs) |
KeyboardDevice | Gets the keyboard device associated with the input event. (Inherited from System.Windows.Input.KeyboardEventArgs) |
NewFocus | Gets the element that focus has moved to. |
OldFocus | Gets the element that previously had focus. |
OriginalSource | Gets the original reporting source as determined by pure hit testing, before any possible System.Windows.RoutedEventArgs.Source adjustment by a parent class. (Inherited from System.Windows.RoutedEventArgs) |
RoutedEvent | Gets or sets the System.Windows.RoutedEventArgs.RoutedEvent associated with this System.Windows.RoutedEventArgs instance. (Inherited from System.Windows.RoutedEventArgs) |
Source | Gets or sets a reference to the object that raised the event. (Inherited from System.Windows.RoutedEventArgs) |
Timestamp | Gets the time when this event occurred. (Inherited from System.Windows.Input.InputEventArgs) |
See Also