dashboard-devexpress-dot-dashboardwin-dot-dashboarditemmouseeventargs.md
Gets the name of the dashboard item for which the event has been raised.
Namespace : DevExpress.DashboardWin
Assembly : DevExpress.Dashboard.v25.2.Win.dll
NuGet Package : DevExpress.Win.Dashboard
public string DashboardItemName { get; }
Public ReadOnly Property DashboardItemName As String
| Type | Description |
|---|---|
| String |
A String that is the dashboard item name.
|
The following code snippets (auto-collected from DevExpress Examples) contain references to the DashboardItemName property.
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-obtain-dashboard-item-client-data/CS/Dashboard_ClientDataCards_Win/Form1.cs#L21
DashboardItemMouseActionEventArgs e) {
if (e.DashboardItemName == "cardDashboardItem1" & e.GetAxisPoint() != null) {
// Obtains client data related to the clicked card.
DashboardItemMouseActionEventArgs e) {
if (e.DashboardItemName == "chartDashboardItem1" && e.GetAxisPoint() != null) {
XtraForm form = new XtraForm();
win-designer-pivot-as-master-filter/CS/DesignerSample/Form1.cs#L45
void OnDashboardItemClick(object sender, DashboardItemMouseActionEventArgs e) {
if(e.DashboardItemName == "pivotDashboardItem1" && !skipFiltering) {
dashboardDesigner1.BeginUpdateParameters();
winforms-dashboard-obtain-dashboard-item-client-data/VB/Dashboard_ClientDataCards_Win/Form1.vb#L22
Private Sub dashboardViewer1_DashboardItemClick(ByVal sender As Object, ByVal e As DashboardItemMouseActionEventArgs)
If e.DashboardItemName = "cardDashboardItem1" And e.GetAxisPoint() IsNot Nothing Then
' Obtains client data related to the clicked card.
Private Sub dashboardViewer1_DashboardItemClick(ByVal sender As Object, ByVal e As DashboardItemMouseActionEventArgs)
If e.DashboardItemName = "chartDashboardItem1" AndAlso e.GetAxisPoint() IsNot Nothing Then
Dim form As New XtraForm()
win-designer-pivot-as-master-filter/VB/DesignerSample/Form1.vb#L47
Private Sub OnDashboardItemClick(ByVal sender As Object, ByVal e As DashboardItemMouseActionEventArgs) Handles dashboardDesigner1.DashboardItemClick
If e.DashboardItemName = "pivotDashboardItem1" AndAlso (Not skipFiltering) Then
dashboardDesigner1.BeginUpdateParameters()
See Also
DashboardItemMouseEventArgs Class