DataGridView.GetGroupDisplayValue(Int32) Method
Returns a value for which the group is created and which is displayed in a group row.
Namespace: DevExpress.XamarinForms.DataGrid
Assembly: DevExpress.XamarinForms.Grid.dll
NuGet Package: DevExpress.XamarinForms.Grid
Declaration
public object GetGroupDisplayValue(
int groupRowHandle
)
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. |
Returns
Type | Description |
---|---|
Object | An object that specifies the group value. |
Remarks
When grid data is grouped by the specified column, data rows that have identical values in this column are arranged into groups. The GridColumn.SortMode specifies whether the grid should group data by a column’s data values or display text (values formatted according to the column’s DisplayFormat). A value used for grouping data is displayed in a group row, preceded by a column caption and colons.
The GetGroupDisplayValue method returns a value for which a particular group is created (the column’s data value or display text, depending on the SortMode property value). The GetGroupValue(Int32) always returns the actual data value of the column.