InputEventArgs.Device 属性

定义

获取启动此事件的输入设备。Gets the input device that initiated this event.

public:
 property System::Windows::Input::InputDevice ^ Device { System::Windows::Input::InputDevice ^ get(); };
public System.Windows.Input.InputDevice Device { get; }
member this.Device : System.Windows.Input.InputDevice
Public ReadOnly Property Device As InputDevice

属性值

与此事件关联的输入设备。The input device associated with this event.

示例

KeyboardDevice

MouseDevice

适用于