DragDrop.PreviewDrop 附加事件

定義

在置放目標項目的界限內置放物件時發生。Occurs when an object is dropped within the bounds of an element that is acting as a drop target.

see AddPreviewDropHandler, and RemovePreviewDropHandler
see AddPreviewDropHandler, and RemovePreviewDropHandler
see AddPreviewDropHandler, and RemovePreviewDropHandler

備註

當物件在做為放置目標的元素範圍內卸載時,就會引發這個事件一次。This event is raised once when an object is dropped within the bounds of an element that is acting as a drop target. 如果元素的 AllowDrop 屬性是 false,就不會引發這個事件。This event is not raised if the element's AllowDrop property is false. 這個事件會結束拖放作業。This event ends the drag-and-drop operation.

如需詳細資訊,請參閱 Drop 事件。For more information, see the Drop event.

路由事件資訊Routed Event Information

識別碼欄位Identifier Field PreviewDropEvent
路由策略Routing Strategy 通道Tunneling
Delegate - 委派Delegate DragEventHandler

對應的反升事件為 DropThe corresponding bubbling event is Drop.

適用於

另請參閱