Skip to main content

ASPxClientDiagram.SelectionChanged Event

Fires after the selection changes in the Diagram.

Declaration

SelectionChanged: ASPxClientEvent<ASPxClientDiagramSelectionChangedEventHandler<ASPxClientDiagram>>

Event Data

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

Property Description
items Gets an array of the selected items (DiagramShape or DiagramConnector objects).

Remarks

<dx:ASPxDiagram ID="Diagram" runat="server" ClientInstanceName="diagram" >
    <ClientSideEvents SelectionChanged="function(s, e) { /*your code*/}"/>
</dx:ASPxDiagram>

Run Demo: Client-Side Events

See Also