'Declaration
Public Event PreviewGotKeyboardFocus As System.Windows.Input.KeyboardFocusChangedEventHandler
'Usage
Dim instance As NNavigationBarControl Dim handler As System.Windows.Input.KeyboardFocusChangedEventHandler AddHandler instance.PreviewGotKeyboardFocus, handler
public event System.Windows.Input.KeyboardFocusChangedEventHandler PreviewGotKeyboardFocus
Event Data
The event handler receives an argument of type System.Windows.Input.KeyboardFocusChangedEventArgs containing data related to this event. The following KeyboardFocusChangedEventArgs properties provide information specific to this event.
Property | Description |
---|---|
Device | (Inherited from System.Windows.Input.InputEventArgs) |
Handled | (Inherited from System.Windows.RoutedEventArgs) |
KeyboardDevice | (Inherited from System.Windows.Input.KeyboardEventArgs) |
NewFocus | Gets the element that focus has moved to. |
OldFocus | Gets the element that previously had focus. |
OriginalSource | (Inherited from System.Windows.RoutedEventArgs) |
RoutedEvent | (Inherited from System.Windows.RoutedEventArgs) |
Source | (Inherited from System.Windows.RoutedEventArgs) |
Timestamp | (Inherited from System.Windows.Input.InputEventArgs) |
Requirements
Target Platforms: Windows 11, Windows 10, Windows 7, Windows Server 2019, Windows Server 2016, Windows Server 2012 R2, Windows Server 2012, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later)
See Also