GridSummaryItem.SummaryValue Property

Gets the current total summary item's value.

Namespace: DevExpress.XtraGrid

Assembly: DevExpress.XtraGrid.v20.1.dll


public virtual object SummaryValue { get; }
Public Overridable ReadOnly Property SummaryValue As Object

Property Value

Type Description

A Object representing the total summary value.


This property is in effect for total summary items only. To obtain group summary values, use the View's GridView.GetGroupSummaryValues method. This method requires a group row handle as the parameter, since group summaries are calculated for each group.

Please refer to the Working with Summaries in Code. Custom Summaries topic for additional information on obtaining summary values and display texts.

Note: the value returned by the SummaryValue property may not match the actual View's data. This may occur when the View's GridOptionsBehavior.AutoUpdateTotalSummary option is disabled. In this case, you can force total summaries recalculation using the GridView.UpdateTotalSummary method.

See Also