DragDrop.PreviewDragEnter Attached Event

Definition

当对象被拖放到作为放置目标的元素的边界内时发生。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

Remarks

每次将对象拖到作为拖放目标的元素的边界中时,将引发此事件。This event is raised once each time an object is dragged into the bounds of an element that is acting as a drop target. 如果 false元素的 AllowDrop 属性,则不会引发此事件。This 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 DragEventHandler

对应的冒泡事件 DragEnterThe corresponding bubbling event is DragEnter.

Applies to

See also