DiagramControl.ItemsDeleting Event

Fires each time diagram items have been removed from the canvas.

Namespace: DevExpress.XtraDiagram

Assembly: DevExpress.XtraDiagram.v20.1.dll

Declaration

[DiagramCategory(DiagramCategory.DiagramItems)]
public event EventHandler<DiagramItemsDeletingEventArgs> ItemsDeleting
<DiagramCategory(DiagramCategory.DiagramItems)>
Public Event ItemsDeleting As EventHandler(Of DiagramItemsDeletingEventArgs)

Event Data

The ItemsDeleting event's data class is DiagramItemsDeletingEventArgs. The following properties provide information specific to this event:

Property Description
Cancel Gets or sets a value indicating whether the event should be canceled. Inherited from CancelEventArgs.
Items Returns the collection of items that are being deleted.

Remarks

The Items event parameter returns the collection of items that have been removed.

See Also