MouseCapabilities.VerticalWheelPresent MouseCapabilities.VerticalWheelPresent MouseCapabilities.VerticalWheelPresent MouseCapabilities.VerticalWheelPresent MouseCapabilities.VerticalWheelPresent Property

Definition

Gets a value indicating whether any of the mice connected to the computer have a scroll wheel that rolls up and down (usually for vertical scrolling).

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

Property Value

int int int

The number of vertical 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("verticalWheelPresent").innerHTML = mouseCapabilities.VerticalWheelPresent;
    }

See also