Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

GroupSortingSummaryGetResultEventArgs.CalculatedValues Property

Gets an array of values which can be used to calculate a custom summary.

Namespace: DevExpress.XtraReports.UI

Assembly: DevExpress.XtraReports.v24.2.dll

NuGet Package: DevExpress.Reporting.Core

#Declaration

public object[] CalculatedValues { get; }

#Property Value

Type Description
Object[]

An array of Object values to be used for a custom summary.

#Remarks

The array returned by the CalculatedValues property contains all the values assigned to a data field, specified as a data source for a Group Header band, every time the GroupHeaderBand.SortingSummaryRowChanged event is raised. You can use these values when calculating a custom summary value in the GroupHeaderBand.SortingSummaryGetResult event handler.

Note

The resulting value should be set to the GroupSortingSummaryGetResultEventArgs.Result property. If the summary value has been calculated, you should set the GroupSortingSummaryGetResultEventArgs.Handled property to true.

To learn more, see Grouping and Sorting a Report’s Data and Calculating Custom Summaries via Scripts.

See Also