MouseWheelEventArgs 类

定义

提供 OnMouseWheel 事件的数据。

public ref class MouseWheelEventArgs sealed
class MouseWheelEventArgs sealed
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
[Windows.Foundation.Metadata.Version(1)]
public sealed class MouseWheelEventArgs
Public NotInheritable Class MouseWheelEventArgs
继承
System.Object
MouseWheelEventArgs
属性

其他功能和要求

软件开发工具包
支持的最低 OS
Windows 10 (10.0.10240.0)

属性

CtrlKeyPressed

获取一个值,该值指示是否按下 Ctrl 键。

PointerCoordinate

获取指针的坐标。

WheelDelta

获取鼠标滚轮已旋转的槽数。

适用于