Skip to main content

ASPxClientDiagram.SelectionChanged Event

Fires after the selection changes in the Diagram.


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).


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

Run Demo: Client-Side Events

See Also