Skip to main content
A newer version of this page is available. .

GroupSortingSummaryGetResultEventArgs.Result Property

Gets or sets the result of a custom summary for sorting groups.

Namespace: DevExpress.XtraReports.UI

Assembly: DevExpress.XtraReports.v18.2.dll

Declaration

public object Result { get; set; }

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.

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.

See Also