All docs
V21.2
21.2
21.1
20.2
20.1
19.2
19.1
The page you are viewing does not exist in version 19.1. This link will take you to the root page.
18.2
The page you are viewing does not exist in version 18.2. This link will take you to the root page.
18.1
The page you are viewing does not exist in version 18.1. This link will take you to the root page.
17.2
The page you are viewing does not exist in version 17.2. This link will take you to the root page.

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