DragDrop.PreviewDrop 附加事件

定义

在将对象拖入用作放置目标的元素边界时发生。Occurs when an object is dropped within the bounds of an element that is acting as a drop target.

see AddPreviewDropHandler, and RemovePreviewDropHandler
see AddPreviewDropHandler, and RemovePreviewDropHandler
see AddPreviewDropHandler, and RemovePreviewDropHandler

注解

当对象被置于作为放置目标的元素的边界内时,将引发此事件一次。This event is raised once when an object is dropped within the bounds of an element that is acting as a drop target. 如果元素的 @no__t 0 属性 @no__t 为-1,则不会引发此事件。This event is not raised if the element's AllowDrop property is false. 此事件结束拖放操作。This event ends the drag-and-drop operation.

有关详细信息,请参阅 Drop 事件。For more information, see the Drop event.

路由事件信息Routed Event Information

标识符字段Identifier Field PreviewDropEvent
路由策略Routing Strategy 隧道Tunneling
委托Delegate DragEventHandler

对应的冒泡事件 DropThe corresponding bubbling event is Drop.

适用于

另请参阅