DiagramControl.CustomItemGiveFeedback Event

Occurs while diagram items are dragged.

Namespace: DevExpress.XtraDiagram

Assembly: DevExpress.XtraDiagram.v20.1.dll


public event EventHandler<DiagramCustomItemGiveFeedbackEventArgs> CustomItemGiveFeedback
Public Event CustomItemGiveFeedback As EventHandler(Of DiagramCustomItemGiveFeedbackEventArgs)

Event Data

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

Property Description
Cursor Gets or sets the cursor type used during the drag-and-drop operation.
Effects Gets a value that indicates the effects of the drag-and-drop operation.
Items Returns the list of items that are objects of the drag-and-drop operation.


Handle the CustomItemGiveFeedback event to modify the appearance of the mouse pointer during the drag operation. See the example below.

void diagram_CustomItemGiveFeedback(object sender, DiagramCustomItemGiveFeedbackEventArgs e)
    e.Cursor = DragDropCursor.Custom;
    Cursor.Current = Cursors.No;
See Also