Back to Devexpress

DashboardDesigner.MasterFilterSet Event

dashboard-devexpress-dot-dashboardwin-dot-dashboarddesigner-90081cb4.md

latest4.1 KB
Original Source

DashboardDesigner.MasterFilterSet Event

Occurs when an end-user changes the state of the master filter.

Namespace : DevExpress.DashboardWin

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

NuGet Package : DevExpress.Win.Dashboard

Declaration

csharp
public event MasterFilterSetEventHandler MasterFilterSet
vb
Public Event MasterFilterSet As MasterFilterSetEventHandler

Event Data

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

PropertyDescription
DashboardItemNameGets the name of the dashboard item.
SelectedRangeGets the selected range in the Range Filter dashboard item.
SelectedValuesGets currently selected records in the master filter item.

The event data class exposes the following methods:

MethodDescription
IsNullValue(Object)Returns whether the specified value is DashboardSpecialValues.NullValue.
IsOthersValue(Object)Returns whether the specified value is DashboardSpecialValues.OthersValue.

Remarks

The MasterFilterSet event is raised when an end-user changes the state of the master filter.

The MasterFilterSetEventArgs class exposes the MasterFilterSetEventArgs.DashboardItemName property that allows you to determine the name of the master filter item which causes the event.

Use the MasterFilterSetEventArgs.SelectedValues property to obtain values of currently selected elements in the master filter item. To determine the selected range in the Range Filter dashboard item, use the MasterFilterSetEventArgs.SelectedRange property.

Note

The MasterFilterSetEventArgs.SelectedValues property returns the DashboardSpecialValues.NullValue or DashboardSpecialValues.OthersValue values instead of null or “Others” values, respectively.

Implements

MasterFilterSet

See Also

MasterFilterCleared

Synchronize Master Filter and Drill Down Actions Between Dashboards

DashboardDesigner Class

DashboardDesigner Members

DevExpress.DashboardWin Namespace