Mouse.PrimaryDevice Property


The .NET API Reference documentation has a new home. Visit the .NET API Browser on to see the new experience.

Gets the primary mouse device.

Namespace:   System.Windows.Input
Assembly:  PresentationCore (in PresentationCore.dll)

Public Shared ReadOnly Property PrimaryDevice As MouseDevice

Property Value

Type: System.Windows.Input.MouseDevice

The device.

This property supports the Windows Presentation Foundation infrastructure and is not intended to be used directly from your code.

.NET Framework
Available since 3.0
Return to top