QueryContinueDragEventHandler Delegate


表示一个将处理路由事件的方法,拖动源(例如 QueryContinueDrag)可以利用该方法取消拖放事件。Represents a method that will handle the routed events that enables a drag-and-drop operation to be canceled by the drag source, for example QueryContinueDrag.

public delegate void QueryContinueDragEventHandler(System::Object ^ sender, QueryContinueDragEventArgs ^ e);
public delegate void QueryContinueDragEventHandler(object sender, QueryContinueDragEventArgs e);
type QueryContinueDragEventHandler = delegate of obj * QueryContinueDragEventArgs -> unit
Public Delegate Sub QueryContinueDragEventHandler(sender As Object, e As QueryContinueDragEventArgs)



事件处理程序附加到的对象。The object where the event handler is attached.


事件数据。The event data.



此委托与以下附加事件一起使用:This delegate is used with the following attached events:

此委托还与基元素上的以下路由事件一起使用。This delegate is also used with the following routed events on base elements. 这些路由事件转发前面列出的附加事件,使其在 WPFWPF的常规元素模型中更易于访问。These routed events forward the previously listed attached events to make them more accessible to the general element model in WPFWPF.

附加事件和基本元素路由事件共享其事件数据,路由事件的冒泡和隧道版本也共享事件数据。The attached events and the base element routed events share their event data, and the bubbling and tunneling versions of the routed events also share event data. 这可能会影响事件在传输事件路由时的已处理特性。This can affect the handled characteristics of the event as it travels the event route. 有关详细信息,请参阅输入概述For details, see Input Overview.

DragDrop.QueryContinueDrag 附加事件在拖放操作期间发生,并且允许拖动源确定是否应取消拖放操作。The DragDrop.QueryContinueDrag attached event occurs during a drag-and-drop operation and allows the drag source to determine whether the drag-and-drop operation should be canceled.

Extension Methods


获取指示指定委托表示的方法的对象。Gets an object that represents the method represented by the specified delegate.

Applies to