InputEventArgs.Device InputEventArgs.Device InputEventArgs.Device InputEventArgs.Device Property

定義

取得初始化這個事件的輸入裝置。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

適用於