共用方式為


InputEventArgs.Device 屬性

定義

取得初始化這個事件的輸入裝置。

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

屬性值

與這個事件關聯的輸入裝置。

範例

KeyboardDevice

MouseDevice

適用於