ContentElement.PreviewQueryContinueDrag 事件

定義

拖放操作期間,鍵盤或滑鼠按鈕狀態變更時發生。

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 可讓拖曳來源宣告是否應該取消拖放作業。

這個事件會為此 DragDrop.PreviewQueryContinueDrag 類別建立附加事件的別名,以便在 PreviewQueryContinueDrag 繼承為基底專案時 ContentElement ,屬於類別成員清單的一部分。 附加至 PreviewQueryContinueDrag 事件的事件處理常式會附加至基礎 DragDrop.PreviewQueryContinueDrag 附加事件,並接收相同的事件資料實例。

路由事件資訊

識別碼欄位 PreviewQueryContinueDragEvent
路由策略 隧道
代理人 QueryContinueDragEventHandler

適用於