UIElement.PreviewDragLeave 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 ^ PreviewDragLeave;
public event System.Windows.DragEventHandler PreviewDragLeave;
member this.PreviewDragLeave : System.Windows.DragEventHandler 
Public Custom Event PreviewDragLeave As DragEventHandler 

Remarks

Este evento crea un alias para el evento adjunto de DragDrop.PreviewDragLeave para esta clase, de modo que PreviewDragLeave 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.PreviewDragLeave attached event for this class, so that PreviewDragLeave is part of the class members list when UIElement is inherited as a base element. Los controladores de eventos adjuntos al evento PreviewDragLeave se adjuntan al evento adjunto DragDrop.PreviewDragLeave subyacente y reciben la misma instancia de datos de evento.Event handlers that are attached to the PreviewDragLeave event are attached to the underlying DragDrop.PreviewDragLeave attached event and receive the same event data instance.

Información sobre eventos enrutadosRouted Event Information

Campo de identificadorIdentifier field PreviewDragLeaveEvent
Estrategia de enrutamientoRouting strategy TúnelesTunneling
DelegarDelegate DragEventHandler
  • El evento de propagación correspondiente es DragLeave.The corresponding bubbling event is DragLeave.

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

Applies to