The requested page is not available for the requested platform. You are viewing the content for Default platform.

Manage Interactivity Capabilities

Use the Master Filtering and Drill-Down features to enable interaction between various dashboard items:

Interactivity Options

When editing a dashboard in the Visual Studio Designer, use the Property Editor's InteractivityOptions category to set the Master Filter and Drill-Down options.

In code, use the dashboard item's InteractivityOptions property that provides access to the DashboardItemInteractivityOptions object.

Master Filtering

The DashboardControl.CanSetMasterFilter method allows you to determine whether master filtering can be applied to the specified dashboard item. Use the DashboardControl.GetAvailableFilterValues method to obtain axis point tuples that identify elements, which can be selected in the current state of the master filter item. The DashboardControl.GetEntireRange method returns the visible range for the specified Range Filter dashboard item.

To apply filtering in code, use the DashboardControl.SetMasterFilter method (or the DashboardControl.SetRange method for the Range Filter dashboard item).

After applying a master filter, the control raises the DashboardControl.MasterFilterSet event. Event args MasterFilterSetEventArgs.SelectedValues and MasterFilterSetEventArgs.SelectedRange properties allow you to obtain the currently selected values or the selected range for the dashboard item whose selection change triggers the event.

Master-Filtering WPF Viewer

In the image above, the MasterFilterSetEventArgs.SelectedValues property returns "Andrew Fuller", "Anne Dodsworth" and "Laura Callahan" for the Grid dashboard item. For the Range Filter dashboard item, the MasterFilterSetEventArgs.SelectedRange property returns minimum and maximum values in the selected range ("March, 2015" and "October, 2015", respectively).

To clear the selection in the Master Filter item, use the DashboardControl.ClearMasterFilter method.

After the selection is cleared, the DashboardControl.MasterFilterCleared event occurs.

Drill-Down

The DashboardControl.GetAvailableDrillDownValues method allows you to obtain values that can be used to perform a drill-down.

To perform a drill-down/drill-up in code, use the DashboardControl.PerformDrillDown or DashboardControl.PerformDrillUp methods.

After the drill-down (or drill-up) action, the DashboardControl.DrillDownPerformed (or DashboardControl.DrillUpPerformed resoectively) event occurs.

Interactivity_DrillDown_Common

You can use the DrillActionEventArgs.DrillDownLevel event parameter to determine the current drill-down level.

The DrillActionEventArgs.Values property allows you to obtain values from the current drill-down hierarchy.

See Also