GridControl.GetParentRowHandle(Int32) Method

Determines a particular row's parent group row.

Namespace: DevExpress.UI.Xaml.Grid

Assembly: DevExpress.UI.Xaml.Grid.v18.2.dll

Declaration

public int GetParentRowHandle(
    int rowHandle
)
Public Function GetParentRowHandle(
    rowHandle As Integer
) As Integer

Parameters

Type Name Description
Int32 rowHandle

The handle of the row whose parent row's handle is to be obtained.

Returns

Type Description
Int32

The handle of the parent group row for the specified child row.

When grouping is applied to a view, group and data rows form a hierarchy. Data rows are at the bottom hierarchy level. Using the GetParentRowHandle method for data rows will return handles of group rows. The method can be used to go further to the top of the hierarchy. Using the GetParentRowHandle for root group rows returns the value of the DataControlBase.InvalidRowHandle property.

See Also