Back to Devexpress

IDashboardControl.CalculateHiddenTotals Property

dashboard-devexpress-dot-dashboardwin-dot-idashboardcontrol-daf67482.md

latest4.4 KB
Original Source

IDashboardControl.CalculateHiddenTotals Property

Gets or sets whether to calculate totals for the hidden data items.

Namespace : DevExpress.DashboardWin

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

NuGet Package : DevExpress.Win.Dashboard

Declaration

csharp
bool CalculateHiddenTotals { get; set; }
vb
Property CalculateHiddenTotals As Boolean

Property Value

TypeDescription
Boolean

true , to calculate hidden totals; otherwise, false.

|

The following code snippets (auto-collected from DevExpress Examples) contain references to the CalculateHiddenTotals property.

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.

winforms-dashboard-custom-items-extension/CS/CustomItemExtension/CustomItems/SankeyChart/SankeyItemExtensionModule.cs#L30

csharp
this.dashboardControl = dashboardControl;
dashboardControl.CalculateHiddenTotals = true;
dashboardControl.CustomDashboardItemControlCreating += OnCustomDashboardItemControlCreating;

dashboard-constant-lines/CS/ConstantLineExtension.Win/ConstantLineModule.cs#L33

csharp
this.dashboardControl.DashboardItemControlUpdated += DashboardItemControlUpdated;
calculateHiddenTotalsOriginalValue = dashboardControl.CalculateHiddenTotals;
this.dashboardControl.CalculateHiddenTotals = true;

winforms-dashboard-display-each-series-in-separate-pane-for-chart-items/CS/MultiPaneExtension/MultiPaneModule.cs#L41

csharp
this.dashboardControl = dashboardControl;
this.dashboardControl.CalculateHiddenTotals = true;
this.dashboardControl.DashboardItemControlUpdated += DashboardItemControlUpdated;

winforms-dashboard-custom-items-extension/VB/CustomItemExtension/CustomItems/TreeList/TreeListItemExtensionModule.vb#L31

vb
Me.dashboardControl = dashboardControl
dashboardControl.CalculateHiddenTotals = True
AddHandler dashboardControl.CustomDashboardItemControlCreating, AddressOf OnCustomDashboardItemControlCreating

winforms-dashboard-display-each-series-in-separate-pane-for-chart-items/VB/MultiPaneExtension/MultiPaneModule.vb#L39

vb
Me.dashboardControl = dashboardControl
Me.dashboardControl.CalculateHiddenTotals = True
AddHandler Me.dashboardControl.DashboardItemControlUpdated, AddressOf DashboardItemControlUpdated

See Also

Hidden Data Items

IDashboardControl Interface

IDashboardControl Members

DevExpress.DashboardWin Namespace