Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

DiagramControl.CustomItemQueryContinueDrag Event

Occurs during a drag-and-drop operation.

Namespace: DevExpress.XtraDiagram

Assembly: DevExpress.XtraDiagram.v24.2.dll

NuGet Package: DevExpress.Win.Diagram

#Declaration

[DiagramCategory(DiagramCategory.Behavior)]
public event EventHandler<DiagramCustomItemQueryContinueDragEventArgs> CustomItemQueryContinueDrag

#Event Data

The CustomItemQueryContinueDrag event's data class is DiagramCustomItemQueryContinueDragEventArgs. The following properties provide information specific to this event:

Property Description
Action Indicates the kind of the action that raised the event.
IsCancellationRequested Indicates whether the drag operation cancellation is requested.
Items Returns the list of the diagram items the user is dragging.
KeyStates Gets the current state of the Shift, Ctrl, and Alt keys.

#Remarks

Set the event’s Action parameter to one of the System.Windows.DragAction enumeration values to specify how and if the drag-and-drop operation should continue.

See Also