DragDrop.PreviewDragLeave DragDrop.PreviewDragLeave DragDrop.PreviewDragLeave Attached Event

定義

從置放目標項目的界限拖曳出物件但不置放時發生。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 屬性是 false,就不會引發這個事件。This 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 - 委派Delegate DragEventHandler

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

適用於

另請參閱