Skip to main content

DiagramControl.ItemsDeleting Event

Fires each time diagram items have been removed from the canvas.

Namespace: DevExpress.XtraDiagram

Assembly: DevExpress.XtraDiagram.v24.2.dll

Declaration

[DiagramCategory(DiagramCategory.DiagramItems)]
public event EventHandler<DiagramItemsDeletingEventArgs> ItemsDeleting

Event Data

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

Property Description
Cancel Gets or sets a value indicating whether the event should be canceled. Inherited from CancelEventArgs.
Items Returns the collection of items that are being deleted.

Remarks

The Items event parameter returns the collection of items that have been removed.

See Also