Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

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