MouseCapabilities.SwapButtons MouseCapabilities.SwapButtons MouseCapabilities.SwapButtons MouseCapabilities.SwapButtons MouseCapabilities.SwapButtons Property

Definition

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

public : int SwapButtons { get; }
int32_t SwapButtons();
public int SwapButtons { get; }
Public ReadOnly Property SwapButtons As int
var int = mouseCapabilities.swapButtons;

Property Value

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

See also