Back to Devexpress

DataGridView.GetGroupSummaryValue(Int32, GridColumnSummary) Method

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

latest2.1 KB
Original Source

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

csharp
public object GetGroupSummaryValue(
    int groupRowHandle,
    GridColumnSummary summaryItem
)

Parameters

NameTypeDescription
groupRowHandleInt32

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

TypeDescription
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.

See Also

DataGridView Class

DataGridView Members

DevExpress.XamarinForms.DataGrid Namespace