UIElement.PreviewQueryContinueDrag UIElement.PreviewQueryContinueDrag UIElement.PreviewQueryContinueDrag UIElement.PreviewQueryContinueDrag Event

定義

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

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

備註

PreviewQueryContinueDrag事件可讓拖曳來源,來宣告是否應取消拖放作業。The PreviewQueryContinueDrag event enables the drag source to declare whether the drag-and-drop operation should be canceled.

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

路由事件資訊Routed Event Information

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

適用於