DiagramControl.SelectionChanged Event

Fires when the selection changes (new items are selected, or currently selected items are deselected).

Namespace: DevExpress.XtraDiagram

Assembly: DevExpress.XtraDiagram.v20.1.dll

Declaration

[DiagramCategory(DiagramCategory.DiagramPropertyChanged)]
public event EventHandler<DiagramSelectionChangedEventArgs> SelectionChanged
<DiagramCategory(DiagramCategory.DiagramPropertyChanged)>
Public Event SelectionChanged As EventHandler(Of DiagramSelectionChangedEventArgs)

Event Data

The SelectionChanged event's data class is DevExpress.XtraDiagram.DiagramSelectionChangedEventArgs.

Remarks

Use the SelectionChanged event handler to perform specific actions each time an end-user selects/deselects shapes and connectors.

See Also