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.XtraDiagram

Assembly: DevExpress.XtraDiagram.v24.1.dll

NuGet Package: DevExpress.Win.Diagram

Declaration

[Browsable(false)]
[DiagramCategory(DiagramCategory.DiagramItems)]
[EditorBrowsable(EditorBrowsableState.Never)]
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