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屬性是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 - 委派Delegate DragEventHandler

對應的事件反昇事件是DragEnterThe corresponding bubbling event is DragEnter.

適用於

另請參閱