SummaryGetResultEventArgs.Result Property
Gets or sets the result of a custom summary calculation.
Namespace: DevExpress.XtraReports.UI
Assembly: DevExpress.XtraReports.v24.2.dll
NuGet Package: DevExpress.Reporting.Core
#Declaration
#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).