Back to Devexpress

DiagramControl.CustomItemQueryContinueDrag Event

windowsforms-devexpress-dot-xtradiagram-dot-diagramcontrol-f00103dc.md

latest2.3 KB
Original Source

DiagramControl.CustomItemQueryContinueDrag Event

Occurs during a drag-and-drop operation.

Namespace : DevExpress.XtraDiagram

Assembly : DevExpress.XtraDiagram.v25.2.dll

NuGet Package : DevExpress.Win.Diagram

Declaration

csharp
[DiagramCategory(DiagramCategory.Behavior)]
public event EventHandler<DiagramCustomItemQueryContinueDragEventArgs> CustomItemQueryContinueDrag
vb
<DiagramCategory(DiagramCategory.Behavior)>
Public Event CustomItemQueryContinueDrag As EventHandler(Of DiagramCustomItemQueryContinueDragEventArgs)

Event Data

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

PropertyDescription
ActionIndicates the kind of the action that raised the event.
IsCancellationRequestedIndicates whether the drag operation cancellation is requested.
ItemsReturns the list of the diagram items the user is dragging.
KeyStatesGets 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

DiagramControl Class

DiagramControl Members

DevExpress.XtraDiagram Namespace