共用方式為


DataGridView.OnMouseWheel(MouseEventArgs) 方法

定義

引發 MouseWheel 事件。

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

參數

e
MouseEventArgs

MouseEventArgs,其中包含事件資料。

適用於

另請參閱