ContentElement.MouseUp Evento

Definición

Se produce al soltar cualquier botón del mouse sobre este elemento.Occurs when any mouse button is released over this element.

public:
 event System::Windows::Input::MouseButtonEventHandler ^ MouseUp;
public event System.Windows.Input.MouseButtonEventHandler MouseUp;
member this.MouseUp : System.Windows.Input.MouseButtonEventHandler 
Public Custom Event MouseUp As MouseButtonEventHandler 

Comentarios

Este evento crea un alias para el evento adjunto de Mouse.MouseUp para esta clase, de modo que MouseUp forme parte de la lista de miembros de clase cuando ContentElement se herede como un elemento base.This event creates an alias for the Mouse.MouseUp attached event for this class, so that MouseUp is part of the class members list when ContentElement is inherited as a base element. Los controladores de eventos adjuntos al evento MouseUp se adjuntan al evento adjunto Mouse.MouseUp subyacente y reciben la misma instancia de datos de evento.Event handlers that are attached to the MouseUp event are attached to the underlying Mouse.MouseUp attached event and receive the same event data instance.

El evento MouseUp se suele generar junto con MouseLeftButtonUp o MouseRightButtonUp, que corresponden a una versión de uno de los dos botones del mouse estándar.The MouseUp event is often raised together with either MouseLeftButtonUp or MouseRightButtonUp, which correspond to a release of one of the two standard mouse buttons. MouseLeftButtonUp y MouseRightButtonUp también son eventos enrutados, pero son eventos enrutados directamente y se produce el evento específico del botón adecuado cuando el evento de Mouse.MouseDown alcanza este elemento a lo largo de la ruta del evento.MouseLeftButtonUp and MouseRightButtonUp are also routed events, but they are direct routed events, and the appropriate button-specific event is raised when the Mouse.MouseDown event reaches this element along the event route. Vea la sección Comentarios para obtener MouseLeftButtonUp o MouseRightButtonUp.See Remarks for MouseLeftButtonUp or MouseRightButtonUp.

Información sobre eventos enrutadosRouted Event Information

Campo de identificadorIdentifier field MouseUpEvent
Estrategia de enrutamientoRouting strategy PropagaciónBubbling
delegadoDelegate MouseButtonEventHandler
  • El evento de tunelización correspondiente es PreviewMouseUp.The corresponding tunneling event is PreviewMouseUp.

  • Invalide OnMouseUp para implementar el control de clases para este evento en las clases derivadas.Override OnMouseUp to implement class handling for this event in derived classes.

Se aplica a