TextBoxBase.OnMouseWheel(MouseWheelEventArgs) TextBoxBase.OnMouseWheel(MouseWheelEventArgs) TextBoxBase.OnMouseWheel(MouseWheelEventArgs) TextBoxBase.OnMouseWheel(MouseWheelEventArgs) Method

定义

当将 MouseWheel 事件路由到此类(或从此类继承的类)时进行调用。Is called when a MouseWheel event is routed to this class (or to a class that inherits from this class).

protected:
 override void OnMouseWheel(System::Windows::Input::MouseWheelEventArgs ^ e);
protected override void OnMouseWheel (System.Windows.Input.MouseWheelEventArgs e);
override this.OnMouseWheel : System.Windows.Input.MouseWheelEventArgs -> unit
Protected Overrides Sub OnMouseWheel (e As MouseWheelEventArgs)

参数

e
MouseWheelEventArgs MouseWheelEventArgs MouseWheelEventArgs MouseWheelEventArgs

与此事件相关的鼠标滚轮参数。The mouse wheel arguments that are associated with this event.

注解

滚动MouseWheel鼠标滚轮时发生此事件。The MouseWheel event occurs when the mouse wheel is rolled.

重写 OnMouseWheelOverrides OnMouseWheel.

适用于