Back to Devexpress

DashboardControl.ConfigureItemDataCalculation Event

dashboard-devexpress-dot-dashboardwpf-dot-dashboardcontrol-5debf4c4.md

latest2.9 KB
Original Source

DashboardControl.ConfigureItemDataCalculation Event

Allows you to configure how the dashboard item’s client data is calculated.

Namespace : DevExpress.DashboardWpf

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

NuGet Package : DevExpress.Wpf.Dashboard

Declaration

csharp
public event ConfigureItemDataCalculationEventHandler ConfigureItemDataCalculation
vb
Public Event ConfigureItemDataCalculation As ConfigureItemDataCalculationEventHandler

Event Data

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

PropertyDescription
CalculateAllTotalsGets or sets whether to calculate totals which are not displayed in the dashboard item.
ItemComponentNameGets the component name of the dashboard item.

Remarks

For displayed values, you can obtain hidden measures values regardless of the ConfigureItemDataCalculationEventArgs.CalculateAllTotals property’s value.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the ConfigureItemDataCalculation 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.

dashboard-constant-lines/CS/ConstantLineExtension.WPF/ConstantLineModule.cs#L32

csharp
dashboardControl.CustomExport += CustomExport;
    dashboardControl.ConfigureItemDataCalculation += TargetDashboardControl_ConfigureItemDataCalculation;
}

See Also

DashboardControl Class

DashboardControl Members

DevExpress.DashboardWpf Namespace