Back to Devexpress

DashboardDesigner.DashboardItemSelectionChanged Event

dashboard-devexpress-dot-dashboardwin-dot-dashboarddesigner-2d755313.md

latest4.9 KB
Original Source

DashboardDesigner.DashboardItemSelectionChanged Event

Occurs after the selection within the dashboard item is changed.

Namespace : DevExpress.DashboardWin

Assembly : DevExpress.Dashboard.v25.2.Win.dll

NuGet Package : DevExpress.Win.Dashboard

Declaration

csharp
public event DashboardItemSelectionChangedEventHandler DashboardItemSelectionChanged
vb
Public Event DashboardItemSelectionChanged As DashboardItemSelectionChangedEventHandler

Event Data

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

PropertyDescription
CurrentSelectionGets currently selected elements.
DashboardItemNameGets the component name of the dashboard item for which the event was raised.

Remarks

The DashboardItemSelectionChanged event is raised after the selection within the dashboard item is changed. The selection can be changed in the following ways:

The DashboardItemSelectionChangedEventArgs.DashboardItemName property returns the name of the dashboard item for which the event was raised. Use the DashboardItemSelectionChangedEventArgs.CurrentSelection property to obtain the currently selected elements.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the DashboardItemSelectionChanged event.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

winforms-dashboard-designer-custom-interactivity-in-tab-pages/CS/CustomInteractivityExample/Form1.cs#L17

csharp
dashboardDesigner1.DashboardItemVisualInteractivity += DashboardDesigner1_DashboardItemVisualInteractivity;
dashboardDesigner1.DashboardItemSelectionChanged += DashboardDesigner1_DashboardItemSelectionChanged;
dashboardDesigner1.CustomizeDashboardItemCaption += DashboardDesigner1_CustomizeDashboardItemCaption;

winforms-dashboard-designer-custom-interactivity-in-tab-pages/VB/CustomInteractivityExample/Form1.vb#L17

vb
AddHandler dashboardDesigner1.DashboardItemVisualInteractivity, AddressOf DashboardDesigner1_DashboardItemVisualInteractivity
AddHandler dashboardDesigner1.DashboardItemSelectionChanged, AddressOf DashboardDesigner1_DashboardItemSelectionChanged
AddHandler dashboardDesigner1.CustomizeDashboardItemCaption, AddressOf DashboardDesigner1_CustomizeDashboardItemCaption

Implements

DashboardItemSelectionChanged

See Also

DashboardDesigner Class

DashboardDesigner Members

DevExpress.DashboardWin Namespace