UIElement.PreviewDragLeave イベント
定義
入力システムが、この要素をドラッグ元とする、基になるドラッグ イベントを報告したときに発生します。Occurs when the input system reports an underlying drag event with this element as the drag origin.
public:
event System::Windows::DragEventHandler ^ PreviewDragLeave;
public event System.Windows.DragEventHandler PreviewDragLeave;
member this.PreviewDragLeave : System.Windows.DragEventHandler
Public Custom Event PreviewDragLeave As DragEventHandler
イベントの種類
注釈
このイベントは、 DragDrop.PreviewDragLeave このクラスの添付イベントのエイリアスを作成します。これにより、 PreviewDragLeave UIElement が基本要素として継承されている場合、はクラスメンバーリストの一部になります。This event creates an alias for the DragDrop.PreviewDragLeave attached event for this class, so that PreviewDragLeave is part of the class members list when UIElement is inherited as a base element. イベントにアタッチされているイベントハンドラー PreviewDragLeave は、基になる添付イベントにアタッチされ、 DragDrop.PreviewDragLeave 同じイベントデータインスタンスを受け取ります。Event handlers that are attached to the PreviewDragLeave event are attached to the underlying DragDrop.PreviewDragLeave attached event and receive the same event data instance.
ルーティングされたイベント情報Routed Event Information
識別子フィールドIdentifier field | PreviewDragLeaveEvent |
ルーティング方法Routing strategy | トンネリングTunneling |
代理人Delegate | DragEventHandler |
対応するバブルイベントは DragLeave です。The corresponding bubbling event is DragLeave.
をオーバーライドし OnPreviewDragLeave て、派生クラスでこのイベントのクラス処理を実装します。Override OnPreviewDragLeave to implement class handling for this event in derived classes.