Edit

Share via


Mouse.PrimaryDevice Property

Definition

Gets the primary mouse device.

public:
 static property System::Windows::Input::MouseDevice ^ PrimaryDevice { System::Windows::Input::MouseDevice ^ get(); };
public static System.Windows.Input.MouseDevice PrimaryDevice { [System.Security.SecurityCritical] get; }
public static System.Windows.Input.MouseDevice PrimaryDevice { get; }
[<get: System.Security.SecurityCritical>]
static member PrimaryDevice : System.Windows.Input.MouseDevice
static member PrimaryDevice : System.Windows.Input.MouseDevice
Public Shared ReadOnly Property PrimaryDevice As MouseDevice

Property Value

The device.

Attributes

Remarks

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

Applies to

See also