MouseEventArgs::MouseDevice Property
.NET Framework (current version)
Gets the mouse device associated with this event.
Assembly: PresentationCore (in PresentationCore.dll)
Property Value
Type: System.Windows.Input::MouseDevice^The mouse device associated with this event. There is no default value.
The Mouse class provides additional properties and methods for determining the state of the mouse.
The following example gets the MouseDevice associated with an input event.
.NET Framework
Available since 3.0
Available since 3.0
Show: