KeyboardFocusChangedEventArgs 构造函数
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
初始化 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
现在具有焦点的元素。