MouseCapabilities.HorizontalWheelPresent Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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:
property int HorizontalWheelPresent { int get(); };
int HorizontalWheelPresent();
public int HorizontalWheelPresent { get; }
var int32 = mouseCapabilities.horizontalWheelPresent;
Public ReadOnly Property HorizontalWheelPresent As Integer
Property Value
Int32
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;
}