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.v20.1.dll

Declaration

[Browsable(false)]
[DiagramCategory(DiagramCategory.DiagramItems)]
public event EventHandler<DiagramDeletingItemsEventArgs> DeletingItems
<Browsable(False)>
<DiagramCategory(DiagramCategory.DiagramItems)>
Public Event DeletingItems As EventHandler(Of DiagramDeletingItemsEventArgs)

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