All docs
V21.1
21.1
20.2
20.1
The page you are viewing does not exist in version 20.1. This link will take you to the root page.
19.2
The page you are viewing does not exist in version 19.2. This link will take you to the root page.
19.1
The page you are viewing does not exist in version 19.1. This link will take you to the root page.
1.1
The page you are viewing does not exist in version 1.1. This link will take you to the root page.

DataGridView.GetGroupValue(Int32) Method

Returns the column’s data value for which the group is created.

Namespace: DevExpress.XamarinForms.DataGrid

Assembly: DevExpress.XamarinForms.Grid.dll

Declaration

public object GetGroupValue(
    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 data 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 always returns the column’s actual data value.

Group Rows

See Also