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

DiagramControl.DeletingItems Event

Fires when the end-user removes items from the diagram canvas. Obsoleted. Use the DiagramControl.ItemsDeleting event instead.

Namespace: DevExpress.XtraDiagram

Assembly: DevExpress.XtraDiagram.v19.1.dll


public event EventHandler<DiagramDeletingItemsEventArgs> DeletingItems

Event Data

The DeletingItems event's data class is DevExpress.XtraDiagram.DiagramDeletingItemsEventArgs.


The Items event’s parameter returns the collection of items to be removed. The Cancel event’s parameter allows you to prevent items from being removed.

See Also