Skip to main content

DiagramControl.SelectionChanged Event

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

Namespace: DevExpress.XtraDiagram

Assembly: DevExpress.XtraDiagram.v24.2.dll

Declaration

[DiagramCategory(DiagramCategory.DiagramPropertyChanged)]
public event EventHandler<DiagramSelectionChangedEventArgs> SelectionChanged

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