DiagramControl.CustomItemGiveFeedback Event
Occurs while diagram items are dragged.
Namespace: DevExpress.XtraDiagram
Assembly: DevExpress.XtraDiagram.v18.2.dll
Declaration
[DiagramCategory(DiagramCategory.Behavior)]
public event EventHandler<DiagramCustomItemGiveFeedbackEventArgs> CustomItemGiveFeedback
Event Data
The CustomItemGiveFeedback event's data class is DevExpress.XtraDiagram.DiagramCustomItemGiveFeedbackEventArgs.
Remarks
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