Skip to main content

DiagramControl.SelectionChanged Event

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

Namespace: DevExpress.Xpf.Diagram

Assembly: DevExpress.Xpf.Diagram.v22.1.dll

NuGet Package: DevExpress.Wpf.Diagram


public event EventHandler<DiagramSelectionChangedEventArgs> SelectionChanged

Event Data

The SelectionChanged event's data class is DevExpress.Xpf.Diagram.DiagramSelectionChangedEventArgs.


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

See Also