DragDrop.PreviewDragEnter DragDrop.PreviewDragEnter DragDrop.PreviewDragEnter Attached Event

定義

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

see AddPreviewDragEnterHandler, and RemovePreviewDragEnterHandler
see AddPreviewDragEnterHandler, and RemovePreviewDragEnterHandler
see AddPreviewDragEnterHandler, and RemovePreviewDragEnterHandler

備註

每次將物件拖曳至做為卸載目標的專案界限時, 就會引發這個事件一次。This event is raised once each time an object is dragged into 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.

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

路由事件資訊Routed Event Information

識別碼欄位Identifier field PreviewDragEnterEvent
路由策略Routing strategy 建立Tunneling
Delegate - 委派Delegate DragEventHandler

對應的反升事件DragEnter為。The corresponding bubbling event is DragEnter.

適用於

另請參閱