UIElement.QueryContinueDrag Event
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Occurs when there is a change in the keyboard or mouse button state during a drag-and-drop operation.
public:
event System::Windows::QueryContinueDragEventHandler ^ QueryContinueDrag;
public event System.Windows.QueryContinueDragEventHandler QueryContinueDrag;
member this.QueryContinueDrag : System.Windows.QueryContinueDragEventHandler
Public Custom Event QueryContinueDrag As QueryContinueDragEventHandler
Event Type
Remarks
The QueryContinueDrag event enables the drag source to determine whether the drag-and-drop operation should be canceled.
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. 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 |
The corresponding tunneling event is PreviewQueryContinueDrag.
Override OnQueryContinueDrag to implement class handling for this event in derived classes.