Mouse.PrimaryDevice Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.