Redigera

Dela via


UIElement3D.PreviewDrop Event

Definition

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

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

Event Type

Remarks

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

Routed Event Information

Identifier field PreviewDropEvent
Routing strategy Tunneling
Delegate DragEventHandler
  • The corresponding bubbling event is Drop.

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

Applies to