共用方式為


KeyboardFocusChangedEventArgs 建構函式

定義

初始化 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)

參數

keyboard
KeyboardDevice

與這個事件相關聯的邏輯鍵盤裝置。

timestamp
Int32

輸入的時間。

oldFocus
IInputElement

先前擁有焦點的項目。

newFocus
IInputElement

目前擁有焦點的項目。

適用於

另請參閱