This topic has not yet been rated - Rate this topic

MouseCapabilities.SwapButtons | swapButtons property

Gets a value indicating whether any of the mice connected to the computer has swapped left and right buttons.

Syntax


public int SwapButtons { get; }

Property value

Type: Number [JavaScript] | System.Int32 [.NET] | int32 [C++] |

A value indicating whether any of the mice connected to the computer has swapped left and right buttons.

Remarks

Windows Phone 8

This API is not implemented and will throw an exception if called.

Examples

The following code shows how to use this method.


    function getMouseCapabilities() {
        var mouseCapabilities = new Windows.Devices.Input.MouseCapabilities();
        id("swapButtons").innerHTML = mouseCapabilities.SwapButtons;
    }

Requirements

Minimum supported client

Windows 8

Minimum supported server

Windows Server 2012

Minimum supported phone

Windows Phone 8

Namespace

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

Metadata

Windows.winmd

See also

MouseCapabilities
Quickstarts
Quickstart: Identifying input devices

 

 

Build date: 2/25/2013

Did you find this helpful?
(1500 characters remaining)
© 2013 Microsoft. All rights reserved.