Skip to main content

DiagramControl.DeletingItems Event

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

Namespace: DevExpress.Xpf.Diagram

Assembly: DevExpress.Xpf.Diagram.v22.1.dll

NuGet Package: DevExpress.Wpf.Diagram


public event EventHandler<DiagramDeletingItemsEventArgs> DeletingItems

Event Data

The DeletingItems event's data class is DevExpress.Xpf.Diagram.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