MouseWheelParameters MouseWheelParameters MouseWheelParameters MouseWheelParameters MouseWheelParameters Class

Definition

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

public : sealed class MouseWheelParameters : IMouseWheelParameters
struct winrt::Windows::UI::Input::MouseWheelParameters : IMouseWheelParameters
public sealed class MouseWheelParameters : IMouseWheelParameters
Public NotInheritable Class MouseWheelParameters Implements IMouseWheelParameters
// This class does not provide a public constructor.
Attributes
Windows 10 requirements
Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)

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.

Note

: 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 CharTranslation CharTranslation CharTranslation CharTranslation

Gets or sets the device-independent pixel (DIP) conversion factors for both character width and line height units (as set in the Wheel settings of the Mouse control panel).

DeltaRotationAngle DeltaRotationAngle DeltaRotationAngle DeltaRotationAngle 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 DeltaScale DeltaScale DeltaScale DeltaScale

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

PageTranslation PageTranslation PageTranslation PageTranslation PageTranslation

Gets or sets the device-independent pixel (DIP) conversion factors for both page width and height units (as set in the Wheel settings of the Mouse control panel).

See Also