Skip to main content

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.1.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