Back to Devexpress

DashboardControl.CanPerformDrillUp(String) Method

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

latest3.3 KB
Original Source

DashboardControl.CanPerformDrillUp(String) Method

Returns whether drill up is possible in the current state of the specified dashboard item.

Namespace : DevExpress.DashboardWpf

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

NuGet Package : DevExpress.Wpf.Dashboard

Declaration

csharp
public bool CanPerformDrillUp(
    string dashboardItemName
)
vb
Public Function CanPerformDrillUp(
    dashboardItemName As String
) As Boolean

Parameters

NameTypeDescription
dashboardItemNameString

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

|

Returns

TypeDescription
Boolean

true , if drill up is possible in the current state of the specified dashboard item; otherwise, false.

|

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 CanPerformDrillUp(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#L90

csharp
}
if ((level + 1) == l && childDashboardControl.CanPerformDrillUp(itemName))
    childDashboardControl.PerformDrillUp(itemName);

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

vb
Loop
If (level + 1) = l AndAlso childDashboardControl.CanPerformDrillUp(itemName) Then
    childDashboardControl.PerformDrillUp(itemName)

See Also

DashboardControl Class

DashboardControl Members

DevExpress.DashboardWpf Namespace