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

现在具有焦点的元素。

适用于

另请参阅