DragDrop.PreviewDragEnter 附加事件

定義

在置放目標項目的界限內拖曳物件時發生。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 falseThis 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 DragEventHandler

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

適用於

另請參閱