Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

QueryContinueDragEventHandler Delegate

 
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.

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 UIElement.QueryContinueDrag.

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

public delegate void QueryContinueDragEventHandler(
	object sender,
	QueryContinueDragEventArgs e
)

Parameters

sender
Type: System.Object

The object where the event handler is attached.

e
Type: System.Windows.QueryContinueDragEventArgs

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. These routed events forward the previously listed attached events to make them more accessible to the general element model in WPF.

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.

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.

.NET Framework
Available since 3.0
Return to top
Show:
© 2018 Microsoft