Questa pagina è stata utile?
I suggerimenti relativi al contenuto di questa pagina sono importanti. Comunicaceli.
Altri suggerimenti?
1500 caratteri rimanenti
Esporta (0) Stampa
Espandi tutto
Espandi Riduci a icona

Evento UIElement.PreviewDragEnter

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

Spazio dei nomi: System.Windows
Assembly: PresentationCore (in presentationcore.dll)
Spazio dei nomi XML:  http://schemas.microsoft.com/winfx/2006/xaml/presentation

public event DragEventHandler PreviewDragEnter
/** @event */
public void add_PreviewDragEnter (DragEventHandler value)

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

In JScript è possibile gestire gli eventi definiti da una classe, ma non è possibile definirne di personalizzati.
<object PreviewDragEnter="DragEventHandler" .../>

Identifier field

PreviewDragEnterEvent

Routing strategy

Tunneling

Delegate

DragEventHandler

  • The corresponding bubbling event is DragEnter.

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

This event creates an alias for the DragDrop.PreviewDragEnter attached event for this class, so that PreviewDragEnter is part of the class members list when UIElement is inherited as a base element. Event handlers that are attached to the PreviewDragEnter event are attached to the underlying DragDrop.PreviewDragEnter attached event and receive the same event data instance.

Microsoft .NET Framework 3.0 è supportato in Windows Vista, Microsoft Windows XP SP2 e Windows Server 2003 SP1.

.NET Framework

Supportato in:

Aggiunte alla community

AGGIUNGI
Mostra:
© 2015 Microsoft