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

Declaration

[Browsable(false)]
[DiagramCategory(DiagramCategory.DiagramItems)]
public event EventHandler<DiagramDeletingItemsEventArgs> DeletingItems

Event Data

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

Remarks

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