Back to Devexpress

DashboardControl.DrillDownPerformed Event

dashboard-devexpress-dot-dashboardwpf-dot-dashboardcontrol-389ec673.md

latest4.8 KB
Original Source

DashboardControl.DrillDownPerformed Event

Occurs after a drill-down is performed.

Namespace : DevExpress.DashboardWpf

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

NuGet Package : DevExpress.Wpf.Dashboard

Declaration

csharp
public event DrillActionEventHandler DrillDownPerformed
vb
Public Event DrillDownPerformed As DrillActionEventHandler

Event Data

The DrillDownPerformed 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 DrillDownPerformed 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 DashboardControl.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 DrillDownPerformed 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#L28

csharp
dParentControl.MasterFilterCleared += DControl_MasterFilterCleared;
dParentControl.DrillDownPerformed += DControl_DrillDownPerformed;
dParentControl.DrillUpPerformed += DControl_DrillUpPerformed;

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

vb
AddHandler dParentControl.MasterFilterCleared, AddressOf DControl_MasterFilterCleared
AddHandler dParentControl.DrillDownPerformed, AddressOf DControl_DrillDownPerformed
AddHandler dParentControl.DrillUpPerformed, AddressOf DControl_DrillUpPerformed

See Also

DashboardControl Class

DashboardControl Members

DevExpress.DashboardWpf Namespace