Skip to main content

GridControl.GetChildRowHandle(Int32, Int32) Method

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

Namespace: DevExpress.WinUI.Grid

Assembly: DevExpress.WinUI.Grid.v23.2.dll

NuGet Package: DevExpress.WinUI

#Declaration

public int GetChildRowHandle(
    int rowHandle,
    int childIndex
)

#Parameters

Name Type Description
rowHandle Int32

An integer value that specifies the group row’s handle.

childIndex Int32

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

#Returns

Type Description
Int32

An integer value that represents the handle of the row contained within the specified group row, at the specified position.

#Remarks

Group row handles are negative (start from -1). The GetChildRowHandle method returns the invalid row handle (DataControlBase.InvalidRowHandle) if the specified group row doesn’t contain a child row at the specified position. The invalid row handle is also returned if the specified row handle doesn’t correspond to a group row.

See Also