Back to Devexpress

DataGridView.GetGroupSummaryValue(Int32, GridColumnSummary) Method

maui-devexpress-dot-maui-dot-datagrid-dot-datagridview-dot-getgroupsummaryvalue-x28-system-dot-int32-devexpress-dot-maui-dot-datagrid-dot-gridcolumnsummary-x29.md

latest1.8 KB
Original Source

DataGridView.GetGroupSummaryValue(Int32, GridColumnSummary) Method

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

Namespace : DevExpress.Maui.DataGrid

Assembly : DevExpress.Maui.DataGrid.dll

NuGet Package : DevExpress.Maui.DataGrid

Declaration

csharp
public object GetGroupSummaryValue(
    int groupRowHandle,
    GridColumnSummary summaryItem
)

Parameters

NameTypeDescription
groupRowHandleInt32

A negative integer starting with -1 that specifies a group row handle.

| | summaryItem | GridColumnSummary |

An object that specifies a group summary.

|

Returns

TypeDescription
System.Object

An object that specifies a summary value.

|

Remarks

The grid calculates a summary for each group and displays it within the group header (group row). Use the GetGroupSummaryValue method to obtain a summary value for a specific group.

GridColumnSummary objects specify a data field, aggregate function, and a format for the display of a summary. The DataGridView stores these objects in the GroupSummaries collection.

See Also

GroupSummaries

DataGridView Class

DataGridView Members

DevExpress.Maui.DataGrid Namespace