Share via


MouseCapabilities.SwapButtons Property

Definition

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;
}

Applies to

See also