Export (0) Print
Expand All
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

MouseWheelParameters.DeltaScale | deltaScale property

Applies to Windows and Windows Phone

Gets or sets a value that indicates the change in scale associated with input from the wheel button of a mouse.

Syntax


var deltaScale = mouseWheelParameters.deltaScale;
mouseWheelParameters.deltaScale = deltaScale;

Property value

Type: Number [JavaScript] | System.Single [.NET] | float32 [C++]

The relative change in scale, in degrees.

Remarks

The mouse wheel button has discrete, evenly spaced notches or distance thresholds (also called detents). When you rotate or tilt the wheel, a wheel message is sent as each detent is encountered.

DeltaScale maps a single notch (unitary rotation) of the wheel button to a scale multiplier or divider (for example, 1.1).

Rotating the wheel button forward or tilting it to the right results in a scale increase. Rotating backward or tilting to the left results in a scale decrease.c++javascript

Requirements

Minimum supported client

Windows 8

Minimum supported server

Windows Server 2012

Minimum supported phone

Windows Phone 8.1 [Windows Phone Silverlight 8.1 and Windows Runtime apps]

Namespace

Windows.UI.Input
Windows::UI::Input [C++]

Metadata

Windows.winmd

See also

MouseWheelParameters

 

 

Show:
© 2014 Microsoft