共用方式為


TextBoxBase.OnMouseWheel(MouseWheelEventArgs) 方法

定義

MouseWheel 事件路由至此類別 (或繼承自此類別的另一類別) 時呼叫。

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

與此事件關聯的滑鼠滾輪引數。

備註

當滑鼠滾輪變換時,就會發生此 MouseWheel 事件。

覆寫 OnMouseWheel

適用於