MouseCapabilities.HorizontalWheelPresent MouseCapabilities.HorizontalWheelPresent MouseCapabilities.HorizontalWheelPresent MouseCapabilities.HorizontalWheelPresent MouseCapabilities.HorizontalWheelPresent Property

Definition

Gets a value indicating whether any of the mice connected to the computer have a scroll wheel that tilts left and right (usually for horizontal scrolling).

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

Property Value

int int int

The number of horizontal wheels detected. Typically 0 or 1.

Examples

The following code shows how to use this method.

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

See also