GroupSortingSummaryGetResultEventArgs.Result Property
Gets or sets the result of a custom summary for sorting groups.
Namespace: DevExpress.XtraReports.UI
Assembly: DevExpress.XtraReports.v20.2.dll
NuGet Packages: DevExpress.Reporting.Core, DevExpress.WindowsDesktop.Reporting.Core
Declaration
Property Value
Type | Description |
---|---|
Object | A Object which represents the resulting summary value. |
Remarks
Use the Result and GroupSortingSummaryGetResultEventArgs.Handled properties, to define a custom summary value in the GroupHeaderBand.SortingSummaryGetResult event handler.
Note
After the summary value is calculated, it should be assigned to the Result property. In addition, you should set the GroupSortingSummaryGetResultEventArgs.Handled property to true, otherwise the custom summary value remains undetermined, and is set to null (Nothing in Visual Basic).
To learn more, see Grouping and Sorting a Report’s Data and Calculating Custom Summaries via Scripts.
Related GitHub Examples
The following code snippet (auto-collected from DevExpress Examples) contains a reference to the Result 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.