UIElement.Drop 事件

定義

輸入系統報告其下以這個項目作為置放目標的置放事件時發生。

public:
 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 ,屬於類別成員清單的一部分。 附加至 Drop 事件的事件處理常式會附加至基礎 DragDrop.Drop 附加事件,並接收相同的事件資料實例。

路由事件資訊

識別碼欄位 DropEvent
路由策略 鼓 泡
代理人 DragEventHandler
  • 對應的通道事件為 PreviewDrop

  • 覆寫 OnDrop 以在衍生類別中實作這個事件的類別處理。

適用於

另請參閱