UIElement.QueryContinueDrag Event


拖放操作期間,鍵盤或滑鼠按鈕狀態變更時發生。Occurs when there is a change in the keyboard or mouse button state during a drag-and-drop operation.

 event System::Windows::QueryContinueDragEventHandler ^ QueryContinueDrag;
public event System.Windows.QueryContinueDragEventHandler QueryContinueDrag;
member this.QueryContinueDrag : System.Windows.QueryContinueDragEventHandler 
Public Custom Event QueryContinueDrag As QueryContinueDragEventHandler 


QueryContinueDrag 事件可讓拖曳來源判斷是否應取消拖放作業。The QueryContinueDrag event enables the drag source to determine whether the drag-and-drop operation should be canceled.

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

路由事件資訊Routed Event Information

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

Applies to