DashboardControl.DashboardItemSelectionChanged Event
Occurs after the selection within the dashboard item is changed.
Namespace: DevExpress.DashboardWpf
Assembly: DevExpress.Dashboard.v24.1.Wpf.dll
NuGet Package: DevExpress.Wpf.Dashboard
Declaration
Event Data
The DashboardItemSelectionChanged event's data class is DashboardItemSelectionChangedWpfEventArgs. The following properties provide information specific to this event:
Property | Description |
---|---|
CurrentSelection | Gets currently selected elements’ data. |
DashboardItemName | Gets the name of the dashboard item that is the event’s source. |
Remarks
The DashboardItemSelectionChanged event is raised in the following situations:
- the state of master filter item is changed by an end-user or programmatically using the DashboardControl.SetMasterFilter or DashboardControl.ClearMasterFilter methods;
- the selection changes in the dashboard item with custom visual interactivity (the DashboardViewer.DashboardItemVisualInteractivity event is handled).
The e.DashboardItemName property returns the name of the event’s source dashboard item. Use the e.CurrentSelection property to obtain the currently selected elements.
See Also