DragDrop.PreviewDragLeave 附加事件

定義

從置放目標項目的界限拖曳出物件但不置放時發生。Occurs when an object is dragged out of the bounds of an element that is acting as a drop target without being dropped.

see AddPreviewDragLeaveHandler, and RemovePreviewDragLeaveHandler
see AddPreviewDragLeaveHandler, and RemovePreviewDragLeaveHandler
see AddPreviewDragLeaveHandler, and RemovePreviewDragLeaveHandler

備註

每次將物件拖曳至做為卸載目標的專案範圍外,而不被卸載時,就會引發這個事件一次。This event is raised once each time an object is dragged out of the bounds of an element that is acting as a drop target without being dropped. 如果元素的屬性為,則不會引發這個事件 AllowDrop falseThis event is not raised if the element's AllowDrop property is false.

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

路由事件資訊Routed Event Information

識別碼欄位Identifier field PreviewDragLeaveEvent
路由策略Routing strategy 隧道Tunneling
代理人Delegate DragEventHandler

對應的反升事件為 DragLeaveThe corresponding bubbling event is DragLeave.

適用於

另請參閱