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. 如果元素的 @no__t 0 属性 @no__t 为-1,则不会引发此事件。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 DragEventHandler

对应的冒泡事件 DragLeaveThe corresponding bubbling event is DragLeave.

适用于

另请参阅