UIElement.PreviewDragEnter UIElement.PreviewDragEnter UIElement.PreviewDragEnter UIElement.PreviewDragEnter Event


輸入系統報告其下以此項目作為拖曳目標的拖曳事件時發生。Occurs when the input system reports an underlying drag event with this element as the drag target.

 event System::Windows::DragEventHandler ^ PreviewDragEnter;
public event System.Windows.DragEventHandler PreviewDragEnter;
member this.PreviewDragEnter : System.Windows.DragEventHandler 
Public Custom Event PreviewDragEnter As DragEventHandler 


此事件建立的別名DragDrop.PreviewDragEnter附加事件,此類別中,以便PreviewDragEnter屬於類別的成員清單時UIElement繼承為基底的項目。This event creates an alias for the DragDrop.PreviewDragEnter attached event for this class, so that PreviewDragEnter is part of the class members list when UIElement is inherited as a base element. 附加至事件處理常式PreviewDragEnter事件會附加至基礎DragDrop.PreviewDragEnter附加事件,並接收相同的事件資料執行個體。Event handlers that are attached to the PreviewDragEnter event are attached to the underlying DragDrop.PreviewDragEnter attached event and receive the same event data instance.

路由事件資訊Routed Event Information

識別項欄位Identifier field PreviewDragEnterEvent
路由策略Routing strategy 通道Tunneling
Delegate - 委派Delegate DragEventHandler