UIElement.DragLeave Event

Definition

Se produce cuando el sistema de entrada informa de un evento de arrastre subyacente con este elemento como el origen del arrastre.Occurs when the input system reports an underlying drag event with this element as the drag origin.

public:
 event System::Windows::DragEventHandler ^ DragLeave;
public event System.Windows.DragEventHandler DragLeave;
member this.DragLeave : System.Windows.DragEventHandler 
Public Custom Event DragLeave As DragEventHandler 

Remarks

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

Información sobre eventos enrutadosRouted Event Information

Campo de identificadorIdentifier field DragLeaveEvent
Estrategia de enrutamientoRouting strategy PropagaciónBubbling
DelegarDelegate DragEventHandler
  • El evento de tunelización correspondiente es PreviewDragLeave.The corresponding tunneling event is PreviewDragLeave.

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

Applies to

See also