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

適用対象