A newer version of this page is available. Switch to the current version.

DiagramControl.ItemsDeleting Event

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

Namespace: DevExpress.XtraDiagram

Assembly: DevExpress.XtraDiagram.v19.1.dll


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.


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

See Also