Skip to main content

GridControl.GetGroupSummaryValue(Int32, GridSummaryItem) Method

Returns the specified group summary value displayed within the specified group row.

Namespace: DevExpress.Xpf.Grid

Assembly: DevExpress.Xpf.Grid.v24.1.dll

NuGet Package: DevExpress.Wpf.Grid.Core

Declaration

public object GetGroupSummaryValue(
    int rowHandle,
    GridSummaryItem item
)

Parameters

Name Type Description
rowHandle Int32

An integer value that identifies the group row by its handle.

item GridSummaryItem

A GridSummaryItem object that represents the group summary item.

Returns

Type Description
Object

An object that represents the specified group summary value displayed within the specified group row.

Remarks

Group row handles are negative (start from -1). Group summary items are stored within the grid’s GridControl.GroupSummary collection.

To obtain a total summary value, use the DataControlBase.GetTotalSummaryValue method.

To learn more, see Data Summaries.

See Also