DragDrop.RemovePreviewQueryContinueDragHandler Metoda

Definice

Odebere obslužnou rutinu PreviewQueryContinueDrag události ze zadaného objektu závislosti.

public:
 static void RemovePreviewQueryContinueDragHandler(System::Windows::DependencyObject ^ element, System::Windows::QueryContinueDragEventHandler ^ handler);
public static void RemovePreviewQueryContinueDragHandler(System.Windows.DependencyObject element, System.Windows.QueryContinueDragEventHandler handler);
static member RemovePreviewQueryContinueDragHandler : System.Windows.DependencyObject * System.Windows.QueryContinueDragEventHandler -> unit
Public Shared Sub RemovePreviewQueryContinueDragHandler (element As DependencyObject, handler As QueryContinueDragEventHandler)

Parametry

element
DependencyObject

Objekt závislosti (a UIElement nebo ContentElement), ze kterého chcete obslužnou rutinu události odebrat.

handler
QueryContinueDragEventHandler

Delegát, který odkazuje na metodu obslužné rutiny, která se má odebrat.

Poznámky

K PreviewQueryContinueDrag události dochází během operace přetažení a umožňuje zdroji přetažení určit, zda má být operace přetažení zrušena.

Tato metoda odebere obslužnou rutinu pro verzi PreviewQueryContinueDrag tunelování události. Chcete-li odebrat obslužnou rutinu pro bublající verzi této události, viz RemoveQueryContinueDragHandler.

Platí pro

Viz také