Esta documentación está archivada y no tiene mantenimiento.

UIElement.PreviewDragLeave (Evento)

Occurs when the input system reports an underlying drag event with this element as the drag origin.

Espacio de nombres: System.Windows
Ensamblado: PresentationCore (en presentationcore.dll)
Espacio de nombres XML:  http://schemas.microsoft.com/winfx/2006/xaml/presentation

public event DragEventHandler PreviewDragLeave
/** @event */
public void add_PreviewDragLeave (DragEventHandler value)

/** @event */
public void remove_PreviewDragLeave (DragEventHandler value)

En JScript, se pueden controlar los eventos que define una clase, pero no se pueden definir unos propios.
<object PreviewDragLeave="DragEventHandler" .../>

Identifier field

PreviewDragLeaveEvent

Routing strategy

Tunneling

Delegate

DragEventHandler

  • The corresponding bubbling event is DragLeave.

  • Override OnPreviewDragLeave to implement class handling for this event in derived classes.

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. 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.

Microsoft .NET Framework 3.0 es compatible con Windows Vista, Microsoft Windows XP SP2 y Windows Server 2003 SP1.

.NET Framework

Compatible con: 3.0
Mostrar: