DataGridView.GetGroupValue(Int32) Method
Returns an actual value displayed in the specified group row (group header).
Namespace: DevExpress.Maui.DataGrid
Assembly: DevExpress.Maui.DataGrid.dll
NuGet Package: DevExpress.Maui.DataGrid
Declaration
public object GetGroupValue(
int groupRowHandle
)
Parameters
Name | Type | Description |
---|---|---|
groupRowHandle | Int32 | A negative integer starting with -1 that specifies a group row handle. |
Returns
Type | Description |
---|---|
Object | An object that specifies a data value. |
Remarks
You can group data rows in the grid by values in a specific column. The value used to arrange multiple data rows into single group is displayed in the group header (group row). The displayed value can be the actual data value or a value formatted according to the DisplayFormat expression (see SortMode).
You can use the following methods to obtain a value displayed in a specific group’s header:
GetGroupValue(Int32)
—returns the actual data value.- GetGroupDisplayText(Int32)—returns the actual or formatted value depending on the SortMode option.