UIElement::QueryContinueDrag Event

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Occurs when there is a change in the keyboard or mouse button state during a drag-and-drop operation.

Namespace:   System.Windows
Assembly:  PresentationCore (in PresentationCore.dll)

public:
event QueryContinueDragEventHandler^ QueryContinueDrag {
	void add(QueryContinueDragEventHandler^ value);
	void remove(QueryContinueDragEventHandler^ value);
}

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.

Identifier field

QueryContinueDragEvent

Routing strategy

Bubbling

Delegate

QueryContinueDragEventHandler

.NET Framework
Available since 3.0
Return to top
Show: