TreeView.OnNodeMouseHover(TreeNodeMouseHoverEventArgs) TreeView.OnNodeMouseHover(TreeNodeMouseHoverEventArgs) TreeView.OnNodeMouseHover(TreeNodeMouseHoverEventArgs) TreeView.OnNodeMouseHover(TreeNodeMouseHoverEventArgs) Method

Definición

Genera el evento NodeMouseHover.Raises the NodeMouseHover event.

protected:
 virtual void OnNodeMouseHover(System::Windows::Forms::TreeNodeMouseHoverEventArgs ^ e);
protected virtual void OnNodeMouseHover (System.Windows.Forms.TreeNodeMouseHoverEventArgs e);
abstract member OnNodeMouseHover : System.Windows.Forms.TreeNodeMouseHoverEventArgs -> unit
override this.OnNodeMouseHover : System.Windows.Forms.TreeNodeMouseHoverEventArgs -> unit
Protected Overridable Sub OnNodeMouseHover (e As TreeNodeMouseHoverEventArgs)

Parámetros

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 más información, consulte controlar y provocar eventos.For more information, see Handling and Raising Events.

El método OnNodeMouseHover también permite que las clases derivadas controlen el evento sin adjuntar ningún delegado.The OnNodeMouseHover method also allows derived classes to handle the event without attaching a delegate. Ésta es la técnica preferida para controlar el evento en una clase derivada.This is the preferred technique for handling the event in a derived class.

Notas a los desarrolladores de herederos

Al reemplazar OnNodeMouseHover(TreeNodeMouseHoverEventArgs) en una clase derivada, asegúrese de llamar al método OnNodeMouseHover(TreeNodeMouseHoverEventArgs) de la clase base para que los delegados registrados reciban el evento.When overriding OnNodeMouseHover(TreeNodeMouseHoverEventArgs) in a derived class, be sure to call the base class's OnNodeMouseHover(TreeNodeMouseHoverEventArgs) method so that registered delegates receive the event.

Se aplica a