Skip to main content

DataGridView.GetChildRowHandle(Int32, Int32) Method

Returns the handle of the row at the specified position within the specified group.

Namespace: DevExpress.XamarinForms.DataGrid

Assembly: DevExpress.XamarinForms.Grid.dll

NuGet Package: DevExpress.XamarinForms.Grid

Declaration

public int GetChildRowHandle(
    int groupRowHandle,
    int childIndex
)

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.

childIndex Int32

A zero-based integer that specifies the data row’s position within the group.

Returns

Type Description
Int32

The row handle.

Remarks

The GetChildRowHandle method returns an invalid row handle (DataGridView.InvalidRowHandle) if the specified group does not contain a data row at the specified position (the GetChildRowCount method returns the number of rows in the group). An invalid row handle is also returned if the specified group row handle (or the group’s index) does not exist.

Grid Row Handles

See Also