UIElement.PreviewQueryContinueDrag 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 ^ PreviewQueryContinueDrag;
public event System.Windows.QueryContinueDragEventHandler PreviewQueryContinueDrag;
member this.PreviewQueryContinueDrag : System.Windows.QueryContinueDragEventHandler
Public Custom Event PreviewQueryContinueDrag As QueryContinueDragEventHandler
Event Type
Remarks
The PreviewQueryContinueDrag event enables the drag source to declare whether the drag-and-drop operation should be canceled.
This event creates an alias for the DragDrop.PreviewQueryContinueDrag attached event for this class, so that PreviewQueryContinueDrag is part of the class members list when UIElement is inherited as a base element. Event handlers that are attached to the PreviewQueryContinueDrag event are attached to the underlying DragDrop.PreviewQueryContinueDrag attached event and receive the same event data instance.
Routed Event Information
Identifier field | PreviewQueryContinueDragEvent |
Routing strategy | Tunneling |
Delegate | QueryContinueDragEventHandler |
The corresponding bubbling event is QueryContinueDrag.
Override OnPreviewQueryContinueDrag to implement class handling for this event in derived classes.