MouseDevice.GetForCurrentView | getForCurrentView method

Applies to Windows and Windows Phone

Retrieves the mouse device that is associated with the current view.

Syntax


Public Shared Function GetForCurrentView() As MouseDevice

Parameters

This method has no parameters.

Return value

Type: MouseDevice

The mouse device.

Requirements

Minimum supported client

Windows 8

Minimum supported server

Windows Server 2012

Minimum supported phone

Windows Phone 8.1 [Windows Phone Silverlight 8.1 and Windows Runtime apps]

Namespace

Windows.Devices.Input
Windows::Devices::Input [C++]

Metadata

Windows.winmd

See also

MouseDevice

 

 

Show:
© 2015 Microsoft