Compartilhar via


KeyboardFocusChangedEventArgs Construtor

Definição

Inicializa uma nova instância da classe KeyboardFocusChangedEventArgs.

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)

Parâmetros

keyboard
KeyboardDevice

O dispositivo de teclado lógico associado a este evento.

timestamp
Int32

A hora em que ocorreu a entrada.

oldFocus
IInputElement

O elemento que tinha o foco anteriormente.

newFocus
IInputElement

O elemento que tem o foco agora.

Aplica-se a

Confira também