Skip to main content

DashboardControl.SetMasterFilter(String, Object) Method

Selects required elements by their values in the specified master filter item.

Namespace: DevExpress.DashboardWpf

Assembly: DevExpress.Dashboard.v24.1.Wpf.dll

NuGet Package: DevExpress.Wpf.Dashboard

Declaration

public void SetMasterFilter(
    string dashboardItemName,
    object values
)

Parameters

Name Type Description
dashboardItemName String

A String that specifies the component name of the master filter item.

values Object

Values that are used to select elements in the master filter item.

Remarks

Note

The method fires the InvalidOperationException if master filtering is disabled in the specified dashboard item (the MasterFilterMode property is set to None). The exception message is The required action is not currently available for this dashboard item.

The example demonstrates how to synchronize Master Filter and Drill-Down actions between different dashboards:

View Example: How to Synchronize Master Filter and Drill Down Actions Between Dashboards

See Also