Back to Devexpress

DashboardControl.GetCurrentDrillDownValues(String) Method

dashboard-devexpress-dot-dashboardwpf-dot-dashboardcontrol-dot-getcurrentdrilldownvalues-x28-system-dot-string-x29.md

latest3.5 KB
Original Source

DashboardControl.GetCurrentDrillDownValues(String) Method

Returns an axis point tuple identifying the current drill-down state.

Namespace : DevExpress.DashboardWpf

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

NuGet Package : DevExpress.Wpf.Dashboard

Declaration

csharp
public AxisPointTuple GetCurrentDrillDownValues(
    string dashboardItemName
)
vb
Public Function GetCurrentDrillDownValues(
    dashboardItemName As String
) As AxisPointTuple

Parameters

NameTypeDescription
dashboardItemNameString

A String that is the component name of the dashboard item.

|

Returns

TypeDescription
AxisPointTuple

An AxisPointTuple object representing a set of axis points.

|

Remarks

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

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the GetCurrentDrillDownValues(String) method.

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.

wpf-dashboard-linked-interactivity/CS/WpfDashboard_LinkedInteractivity/ChildWindow.xaml.cs#L80

csharp
int level = e.DrillDownLevel;
AxisPointTuple tuple = childDashboardControl.GetCurrentDrillDownValues(itemName);
if (tuple != null)

wpf-dashboard-linked-interactivity/VB/WpfDashboard_LinkedInteractivity/ChildWindow.xaml.vb#L70

vb
Dim level As Integer = e.DrillDownLevel
Dim tuple As AxisPointTuple = childDashboardControl.GetCurrentDrillDownValues(itemName)
If tuple IsNot Nothing Then

See Also

GetCurrentFilterValues(String)

DashboardControl Class

DashboardControl Members

DevExpress.DashboardWpf Namespace