Rediger

Del via


DataGrid.OnMouseWheel(MouseEventArgs) Method

Definition

Raises the MouseWheel event.

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)

Parameters

e
MouseEventArgs

A MouseEventArgs that contains data about the OnMouseUp(MouseEventArgs) event.

Remarks

Raising an event invokes the event handler through a delegate. For an overview, see Handling and Raising Events.

Notes to Inheritors

When overriding OnMouseWheel(MouseEventArgs) in a derived class, be sure to call the base class's OnMouseWheel(MouseEventArgs) method.

Applies to