MouseCapabilities.SwapButtons 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 a value indicating whether any of the mice connected to the computer has swapped left and right buttons.
public:
property int SwapButtons { int get(); };
int SwapButtons();
public int SwapButtons { get; }
var int32 = mouseCapabilities.swapButtons;
Public ReadOnly Property SwapButtons As Integer
Property Value
Int32
int
A value indicating whether any of the mice connected to the computer has swapped left and right buttons.
Examples
The following code shows how to use this method.
function getMouseCapabilities() {
var mouseCapabilities = new Windows.Devices.Input.MouseCapabilities();
id("swapButtons").innerHTML = mouseCapabilities.SwapButtons;
}