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

SummaryGetResultEventArgs.Result Property

Gets or sets the result of a custom summary calculation.

Namespace: DevExpress.XtraReports.UI

Assembly: DevExpress.XtraReports.v20.2.dll

NuGet Packages: DevExpress.Reporting.Core, DevExpress.WindowsDesktop.Reporting.Core

Declaration

public object Result { get; set; }

Property Value

Type Description
Object

A Object which represents the resulting summary value. Note that this object is converted to the String type to be shown within a label for which a custom summary is calculated.

Remarks

Use the Result and SummaryGetResultEventArgs.Handled properties to define a custom summary value on the XRLabel.SummaryGetResult event. After the summary value is calculated, it should be assigned to the Result property. In addition, you need to set the SummaryGetResultEventArgs.Handled property to true. Note that if the SummaryGetResultEventArgs.Handled property is set to false, then the custom summary value remains undetermined and is set to null (Nothing in Visual Basic).

The following code snippets (auto-collected from DevExpress Examples) contain references 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