DeltaRotationAngle | deltaRotationAngle property
Collapse the table of content
Expand the table of content

MouseWheelParameters.DeltaRotationAngle | deltaRotationAngle property

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

Syntax


var deltaRotationAngle = mouseWheelParameters.deltaRotationAngle;
mouseWheelParameters.deltaRotationAngle = deltaRotationAngle;

Property value

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

A value between 0.0 and 359.0 in degrees of rotation. The default value is 0.0.

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.

DeltaRotationAngle maps a single detent to the specified angle.

Rotating the wheel button forward or tilting it to the right results in a clockwise rotation. Rotating backward or tilting to the left results in a counter-clockwise rotation.

Requirements (Windows 10 device family)

Device family

Universal, introduced version 10.0.10240.0

API contract

Windows.Foundation.UniversalApiContract, introduced version 1.0

Namespace

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

Metadata

Windows.Foundation.UniversalApiContract.winmd

Requirements (Windows 8.x and Windows Phone 8.x)

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:
© 2016 Microsoft