Skip to main content

CustomSummaryEventArgs.FieldValue Property

Gets the processed field value.

Namespace: DevExpress.Data

Assembly: DevExpress.Data.v23.2.dll

NuGet Package: DevExpress.Data

Declaration

public object FieldValue { get; }

Property Value

Type Description
Object

An object representing the processed field value.

Remarks

Default summary calculation algorithms process values that belong to a field specified by a summary item. When calculating a summary value manually, this column’s values are passed to corresponding event handlers via the FieldValue property. Use this property to access the processed value immediately and update the CustomSummaryEventArgs.TotalValue property value accordingly.

Note that sometimes you may need to include several fields in your summary calculations. In this case, you will need to use the CustomSummaryEventArgs.RowHandle parameter to identify the row being processed and access its values within the desired fields.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the FieldValue 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