Provides properties associated with the button wheel of a mouse device.
var mouseWheelParameters = Windows.UI.Input.GestureRecognizer.mouseWheelParameters;
The MouseWheelParameters class has these types of members:
The MouseWheelParameters class inherits methods from the Object class (C#/VB/C++).
The MouseWheelParameters class has these properties.
|Read/write||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).|
|Read/write||Gets or sets a value that indicates the change in the angle of rotation associated with input from the wheel button of a mouse.|
|Read/write||Gets or sets a value that indicates the change in scale associated with input from the wheel button of a mouse.|
|Read/write||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).|
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).
Minimum supported client
|Windows 8 [Windows Store apps only]|
Minimum supported server
|Windows Server 2012 [Windows Store apps only]|
Minimum supported phone
|Windows Phone 8.1 [Windows Phone Silverlight 8.1 and Windows Runtime apps]|
- Windows.UI.Input Classes
- Responding to user interaction
- Guidelines for common user interactions
- Touch interaction design
- Samples (DOM)
- HTML scrolling, panning and zooming sample
- Input: DOM pointer event handling sample
- Input: Instantiable gestures sample
- Samples (Windows Store app APIs)
- Input: Device capabilities sample
- Input: Ink sample
- Input: Simplified ink sample
- Input: Windows 8 gestures sample
- Input: XAML user input events sample
- XAML scrolling, panning, and zooming sample
- Samples (DirectX)
- DirectX touch input sample
- Input: Manipulations and gestures (C++) sample
- Input: Touch hit testing sample
- Samples (Win32/Desktop)
- Input source identification sample
- Touch injection sample
- Win32 touch hit-testing sample