KeyboardFocusChangedEventArgs Constructor

Definition

Initializes a new instance of the KeyboardFocusChangedEventArgs class.

public:
 KeyboardFocusChangedEventArgs(System::Windows::Input::KeyboardDevice ^ keyboard, int timestamp, System::Windows::IInputElement ^ oldFocus, System::Windows::IInputElement ^ newFocus);
public KeyboardFocusChangedEventArgs (System.Windows.Input.KeyboardDevice keyboard, int timestamp, System.Windows.IInputElement oldFocus, System.Windows.IInputElement newFocus);
new System.Windows.Input.KeyboardFocusChangedEventArgs : System.Windows.Input.KeyboardDevice * int * System.Windows.IInputElement * System.Windows.IInputElement -> System.Windows.Input.KeyboardFocusChangedEventArgs
Public Sub New (keyboard As KeyboardDevice, timestamp As Integer, oldFocus As IInputElement, newFocus As IInputElement)

Parameters

keyboard
KeyboardDevice

The logical keyboard device associated with this event.

timestamp
Int32

The time when the input occurred.

oldFocus
IInputElement

The element that previously had focus.

newFocus
IInputElement

The element that now has focus.

Applies to

See also