Bagikan melalui


KeyboardFocusChangedEventArgs Konstruktor

Definisi

Menginisialisasi instans baru kelas 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)

Parameter

keyboard
KeyboardDevice

Perangkat keyboard logis yang terkait dengan kejadian ini.

timestamp
Int32

Waktu ketika input terjadi.

oldFocus
IInputElement

Elemen yang sebelumnya memiliki fokus.

newFocus
IInputElement

Elemen yang sekarang memiliki fokus.

Berlaku untuk

Lihat juga