Back to Devexpress

DashboardControl.DrillUpPerformed Event

dashboard-devexpress-dot-dashboardwpf-dot-dashboardcontrol-45828a2a.md

latest4.7 KB
Original Source

DashboardControl.DrillUpPerformed Event

Occurs after a drill-up is performed.

Namespace : DevExpress.DashboardWpf

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

NuGet Package : DevExpress.Wpf.Dashboard

Declaration

csharp
public event DrillActionEventHandler DrillUpPerformed
vb
Public Event DrillUpPerformed As DrillActionEventHandler

Event Data

The DrillUpPerformed event's data class is DrillActionEventArgs. The following properties provide information specific to this event:

PropertyDescription
DashboardItemNameGets the name of the dashboard item.
DrillDownLevelGets the drill-down level.
ValuesGets values from the current drill-down hierarchy.

The event data class exposes the following methods:

MethodDescription
IsNullValue(Object)Returns whether the specified value is DashboardSpecialValues.NullValue.
IsOthersValue(Object)Returns whether the specified value is DashboardSpecialValues.OthersValue.

Remarks

The DashboardControl.DrillUpPerformed event is raised when end-users drill down into the specified dashboard item’s element. When an end-user returns to the previous detail level (drill up), the DrillUpPerformed event is raised.

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

Note

The DrillActionEventArgs.Values property returns the DashboardSpecialValues.NullValue or DashboardSpecialValues.OthersValue values instead of null or “Others” values, respectively.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the DrillUpPerformed event.

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#L29

csharp
dParentControl.DrillDownPerformed += DControl_DrillDownPerformed;
    dParentControl.DrillUpPerformed += DControl_DrillUpPerformed;
}

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

vb
AddHandler dParentControl.DrillDownPerformed, AddressOf DControl_DrillDownPerformed
    AddHandler dParentControl.DrillUpPerformed, AddressOf DControl_DrillUpPerformed
End Sub

See Also

DashboardControl Class

DashboardControl Members

DevExpress.DashboardWpf Namespace