This topic has not yet been rated - Rate this topic

MouseWheelParameters.DeltaRotationAngle | deltaRotationAngle property

Applies to Windows and Windows Phone

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


public:
property float DeltaRotationAngle { 
   float get();
   void set (float value);
}

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

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

 

 

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.