Skip to main content

DataControlBase.GetTotalSummaryValue(SummaryItemBase) Method

Returns the value of the specified total summary item.

Namespace: DevExpress.Xpf.Grid

Assembly: DevExpress.Xpf.Grid.v24.2.Core.dll

NuGet Package: DevExpress.Wpf.Grid.Core

Declaration

public object GetTotalSummaryValue(
    SummaryItemBase item
)

Parameters

Name Type Description
item SummaryItemBase

A SummaryItemBase descendant that represents the total summary item.

Returns

Type Description
Object

Returns the value of the specified total summary item.

Remarks

Total summary items are stored within the grid’s GridControl.TotalSummary collection. To obtain a list of total summary items displayed within a column, use the column’s ColumnBase.TotalSummaries property.

To obtain a group summary value displayed within the specified group row, use the GridControl.GetGroupSummaryValue method.

To learn more, see Data Summaries.

See Also