ContentElement.DragEnter ContentElement.DragEnter ContentElement.DragEnter ContentElement.DragEnter Event


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

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


這個事件ContentElement.DragEnter會為這個類別建立DragDrop.DragEnter附加事件的別名, 因此當繼承為基底專案時ContentElement , 就是類別成員清單的一部分。This event creates an alias for the DragDrop.DragEnter attached event for this class, so that ContentElement.DragEnter is part of the class members list when ContentElement is inherited as a base element. 附加至DragEnter事件的事件處理常式會附加至基礎DragDrop.DragEnter附加事件, 並接收相同的事件資料實例。Event handlers that are attached to the DragEnter event are attached to the underlying DragDrop.DragEnter attached event and receive the same event data instance.

路由事件資訊Routed Event Information

識別碼欄位Identifier field DragEnterEvent
路由策略Routing strategy 路由Bubbling
Delegate - 委派Delegate DragEventHandler