InputEventArgs.Device Property

Definition

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

Property Value

The input device associated with this event.

Examples

KeyboardDevice

MouseDevice

Applies to