Represents the mouse device to a specific thread.
Assembly: PresentationCore (in PresentationCore.dll)
The class provides mouse related events, methods and, properties which provide information regarding the state of the mouse.
Each event that defines as an attached event is also re-exposed by the base element classes UIElement and ContentElement as a new routed event. Generally, it is more convenient to handle mouse events for an application on UIElement and ContentElement, rather than using the events. For details, see Input Overview.
The static members of the class delegate to the primary MouseDevice of the calling thread's input manager.
Windows 7, Windows Vista, Windows XP SP2, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003
The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.