dashboard-devexpress-dot-dashboardwin-dot-dashboarddesigner-5e2a67d3.md
Occurs after you select a dashboard item.
Namespace : DevExpress.DashboardWin
Assembly : DevExpress.Dashboard.v25.2.Win.dll
NuGet Package : DevExpress.Win.Dashboard
public event DashboardItemSelectedEventHandler DashboardItemSelected
Public Event DashboardItemSelected As DashboardItemSelectedEventHandler
The DashboardItemSelected event's data class is DashboardItemSelectedEventArgs. The following properties provide information specific to this event:
| Property | Description |
|---|---|
| SelectedDashboardItem | Gets a dashboard item for which the event is raised. |
You can handle the DashboardItemSelectionChanged and DashboardItemSelectionChanged events to detect if the selection within the dashboard item is changed.
The following code snippets (auto-collected from DevExpress Examples) contain references to the DashboardItemSelected 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.
InitializeUrlBarItem();
designer.DashboardItemSelected += Designer_DashboardItemSelected;
// Other code specific for Designer
AddButtonToRibbon();
dashboardDesigner.DashboardItemSelected += DashboardDesigner_DashboardItemSelected;
dashboardDesigner.Dashboard.OptionsChanged += Dashboard_OptionsChanged;
designer.DashboardItemControlUpdated += Designer_DashboardItemControlUpdated;
designer.DashboardItemSelected += Designer_DashboardItemSelected;
designer.DashboardCustomPropertyChanged += Designer_DashboardCustomPropertyChanged;
InitializeUrlBarItem()
AddHandler designer.DashboardItemSelected, AddressOf Designer_DashboardItemSelected
' Other code specific for Designer
AddButtonToRibbon()
AddHandler dashboardDesigner.DashboardItemSelected, AddressOf DashboardDesigner_DashboardItemSelected
AddHandler dashboardDesigner.Dashboard.OptionsChanged, AddressOf Dashboard_OptionsChanged
AddHandler designer.DashboardItemControlUpdated, AddressOf Designer_DashboardItemControlUpdated
AddHandler designer.DashboardItemSelected, AddressOf Designer_DashboardItemSelected
AddHandler designer.DashboardCustomPropertyChanged, AddressOf Designer_DashboardCustomPropertyChanged
See Also