DragDrop.AddPreviewQueryContinueDragHandler 메서드

정의

지정된 종속성 개체에 PreviewQueryContinueDrag 이벤트 처리기를 추가합니다.

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

매개 변수

element
DependencyObject

이벤트 처리기를 추가할 종속성 개체(UIElement 또는 ContentElement)입니다.

handler
QueryContinueDragEventHandler

추가할 처리기 메서드를 참조하는 대리자입니다.

설명

이벤트는 PreviewQueryContinueDrag 끌어서 놓기 작업 중에 발생하며 끌기 소스가 끌어서 놓기 작업을 취소해야 하는지 여부를 결정할 수 있도록 합니다.

이 메서드는 이벤트의 터널링 버전에 대한 처리기를 추가합니다 PreviewQueryContinueDrag . 이 이벤트의 버블링 버전에 대한 처리기를 추가하려면 를 참조하세요 AddQueryContinueDragHandler.

적용 대상

추가 정보