DashboardControl.MasterFilterSet Event

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

Namespace: DevExpress.DashboardWpf

Assembly: DevExpress.Dashboard.v18.2.Wpf.dll

Declaration

public event MasterFilterSetEventHandler MasterFilterSet
Public Event MasterFilterSet As MasterFilterSetEventHandler

The MasterFilterSet event handler receives an argument of the MasterFilterSetEventArgs type. The following properties provide information specific to this event.

Property Description
DashboardItemName Gets the name of the dashboard item.
SelectedRange Gets the selected range in the Range Filter dashboard item.
SelectedValues Gets currently selected records in the master filter item.

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.

See Also