Skip to content

Latest commit

 

History

History
33 lines (23 loc) · 887 Bytes

mousecapabilities_verticalwheelpresent.md

File metadata and controls

33 lines (23 loc) · 887 Bytes
-api-id -api-type
P:Windows.Devices.Input.MouseCapabilities.VerticalWheelPresent
winrt property

Windows.Devices.Input.MouseCapabilities.VerticalWheelPresent

-description

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).

-property-value

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

-remarks

-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

Quickstart: Identifying input devices