GridControl.GetParentRowHandle(Int32) Method

Determines a particular row's parent group row.

Namespace: DevExpress.UI.Xaml.Grid

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


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


Name Type Description
rowHandle Int32

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


Type Description

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