Skip to main content

DataGridView.GetGroupSummaryValue(Int32, GridColumnSummary) Method

Returns a summary value calculated against the specified group of rows.

Namespace: DevExpress.XamarinForms.DataGrid

Assembly: DevExpress.XamarinForms.Grid.dll

NuGet Package: DevExpress.XamarinForms.Grid

Declaration

public object GetGroupSummaryValue(
    int groupRowHandle,
    GridColumnSummary summaryItem
)

Parameters

Name Type Description
groupRowHandle Int32

The group row handle (a negative integer, starting from -1) or the group’s zero-based index within the grid’s collection of groups.

summaryItem GridColumnSummary

An object that specifies the group summary item.

Returns

Type Description
Object

An object that specifies the summary value.

Remarks

DataGridView stores group summaries in the GroupSummaries collection. An individual summary is a GridColumnSummary object. The grid calculates a group summary for each data group and displays each group summary value within the corresponding group row. Use the GetGroupSummaryValue property to obtain a summary value calculated for the specified group.

Group Rows

See Also