The requested page is not available for the requested platform. You are viewing the content for Default platform.

GridControl.GetChildRowHandle(Int32, Int32) Method

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

Namespace: DevExpress.UI.Xaml.Grid

Assembly: DevExpress.UI.Xaml.Grid.v19.1.dll

Declaration

public int GetChildRowHandle(
    int rowHandle,
    int childIndex
)
Public Function GetChildRowHandle(
    rowHandle As Integer,
    childIndex As Integer
) As Integer

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