dashboard-devexpress-dot-dashboardwin-dot-dashboardviewer-77a90ebf.md
Occurs when an end user clears the selection in the master filter item.
Namespace : DevExpress.DashboardWin
Assembly : DevExpress.Dashboard.v25.2.Win.dll
NuGet Package : DevExpress.Win.Dashboard
public event MasterFilterClearedEventHandler MasterFilterCleared
Public Event MasterFilterCleared As MasterFilterClearedEventHandler
The MasterFilterCleared event's data class is MasterFilterClearedEventArgs. The following properties provide information specific to this event:
| Property | Description |
|---|---|
| DashboardItemName | Gets the name of the dashboard item. |
The MasterFilterCleared event is raised when an end user clears the selection in the master filter item.
The MasterFilterClearedEventArgs.DashboardItemName event parameter allows you to determine the name of the master filter item which causes the event.
The following code snippets (auto-collected from DevExpress Examples) contain references to the MasterFilterCleared 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-apply-master-filter-in-viewer/CS/Dashboard_SetMasterFilter/Form1.cs#L21
dashboardViewer1.MasterFilterSet += DashboardViewer1_MasterFilterSet;
dashboardViewer1.MasterFilterCleared += DashboardViewer1_MasterFilterCleared;
}
how-to-display-pie-chart-others-slice/CS/PieChartOtherSliceExample/Form1.cs#L17
dashboardViewer1.MasterFilterSet += dashboardViewer1_MasterFilterSet;
dashboardViewer1.MasterFilterCleared += DashboardViewer1_MasterFilterCleared;
winforms-dashboard-apply-master-filter-in-viewer/VB/Dashboard_SetMasterFilter/Form1.vb#L22
AddHandler dashboardViewer1.MasterFilterSet, AddressOf DashboardViewer1_MasterFilterSet
AddHandler dashboardViewer1.MasterFilterCleared, AddressOf DashboardViewer1_MasterFilterCleared
End Sub
how-to-display-pie-chart-others-slice/VB/PieChartOtherSliceExample/Form1.vb#L16
AddHandler dashboardViewer1.MasterFilterSet, AddressOf dashboardViewer1_MasterFilterSet
AddHandler dashboardViewer1.MasterFilterCleared, AddressOf DashboardViewer1_MasterFilterCleared
dashboardViewer1.LoadDashboard("Dashboard.xml")
See Also
Synchronize Master Filter and Drill Down Actions Between Dashboards