UIElement.Drop UIElement.Drop UIElement.Drop UIElement.Drop Event


輸入系統報告其下以這個項目作為置放目標的置放事件時發生。Occurs when the input system reports an underlying drop event with this element as the drop target.

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


本項目中建立的別名DragDrop.Drop附加事件,此類別,讓UIElement.Drop屬於類別的成員清單時UIElement繼承為基底的項目。This event creates an alias for the DragDrop.Drop attached event for this class so that UIElement.Drop is part of the class members list when UIElement is inherited as a base element. 附加至事件處理常式Drop事件會附加至基礎DragDrop.Drop附加事件,並接收相同的事件資料執行個體。Event handlers that are attached to the Drop event are attached to the underlying DragDrop.Drop attached event and receive the same event data instance.

路由事件資訊Routed Event Information

識別項欄位Identifier field DropEvent
路由策略Routing strategy 事件反昇Bubbling
Delegate - 委派Delegate DragEventHandler
  • 對應的通道事件是PreviewDropThe corresponding tunneling event is PreviewDrop.

  • 覆寫OnDrop實作在衍生類別中這個事件的類別處理。Override OnDrop to implement class handling for this event in derived classes.