A newer version of this page is available. Switch to the current version.

DiagramControl.SelectionChanged Event

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

Namespace: DevExpress.XtraDiagram

Assembly: DevExpress.XtraDiagram.v19.1.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