UIElement.QueryContinueDrag 事件


在拖放操作期间键盘或鼠标按钮的状态改变时发生。Occurs when there is a change in the keyboard or mouse button state during a drag-and-drop operation.

 event System::Windows::QueryContinueDragEventHandler ^ QueryContinueDrag;
public event System.Windows.QueryContinueDragEventHandler QueryContinueDrag;
member this.QueryContinueDrag : System.Windows.QueryContinueDragEventHandler 
Public Custom Event QueryContinueDrag As QueryContinueDragEventHandler 


QueryContinueDrag 事件允许拖动源确定是否应取消拖放操作。The QueryContinueDrag event enables the drag source to determine whether the drag-and-drop operation should be canceled.

此事件创建此类的 DragDrop.QueryContinueDrag 附加事件的别名,以便在将 UIElement 作为基元素继承时,QueryContinueDrag 是类成员列表的一部分。This event creates an alias for the DragDrop.QueryContinueDrag attached event for this class, so that QueryContinueDrag is part of the class members list when UIElement is inherited as a base element. 附加到 QueryContinueDrag 事件的事件处理程序附加到基础 DragDrop.QueryContinueDrag 附加事件,并接收相同的事件数据实例。Event handlers that are attached to the QueryContinueDrag event are attached to the underlying DragDrop.QueryContinueDrag attached event and receive the same event data instance.

路由事件信息Routed Event Information

标识符字段Identifier field QueryContinueDragEvent
路由策略Routing strategy 冒泡Bubbling
委托Delegate QueryContinueDragEventHandler