DragDrop.PreviewDrop DragDrop.PreviewDrop DragDrop.PreviewDrop Attached Event

定義

在置放目標項目的界限內置放物件時發生。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屬性是falseThis 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.

適用於

另請參閱