MouseWheelParameters Class

Definition

Provides properties associated with the button wheel of a mouse device.

C#
[Windows.Foundation.Metadata.ContractVersion(typeof(Microsoft.Foundation.WindowsAppSDKContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
public sealed class MouseWheelParameters
Inheritance
Object MouseWheelParameters
Attributes

Remarks

The properties exposed through MouseWheelParameters are used in conjunction with the Wheel settings in the Mouse control panel to define the UI experience when using the button wheel.

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.

Примітка

This class is not agile, which means that you need to consider its threading model and marshaling behavior. For more info, see Threading and Marshaling (C++/CX) and Using Windows Runtime objects in a multithreaded environment (.NET).

Properties

CharTranslation

Gets or sets the conversion factors for both character width and line height units, in device-independent pixels (DIP).

DeltaRotationAngle

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

DeltaScale

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

PageTranslation

Gets or sets the conversion factors for both page width and height units, in device-independent pixel (DIP).

Applies to

Продукт Версії
Windows App SDK 1.0, 1.1, 1.2, 1.3, 1.4, 1.5, 1.6

See also