DataGrid.OnMouseWheel(MouseEventArgs) Método

Definición

Inicia el evento MouseWheel.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)

Parámetros

e
MouseEventArgs

Un control MouseEventArgs que contiene datos sobre el evento OnMouseUp(MouseEventArgs).A MouseEventArgs that contains data about the OnMouseUp(MouseEventArgs) event.

Comentarios

Cuando se genera un evento, se invoca el controlador de eventos a través de un delegado.Raising an event invokes the event handler through a delegate. Para obtener información general, consulte controlar y provocar eventos.For an overview, see Handling and Raising Events.

Notas a los desarrolladores de herederos

Al reemplazar OnMouseWheel(MouseEventArgs) en una clase derivada, asegúrese de llamar al método de OnMouseWheel(MouseEventArgs) de la clase base.When overriding OnMouseWheel(MouseEventArgs) in a derived class, be sure to call the base class's OnMouseWheel(MouseEventArgs) method.

Se aplica a