Skip to main content

GridControl.GetParentRowHandle(Int32) Method

Determines a particular row’s parent group row.

Namespace: DevExpress.UI.Xaml.Grid

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

NuGet Package: DevExpress.Uwp.Controls

Declaration

public int GetParentRowHandle(
    int rowHandle
)

Parameters

Name Type Description
rowHandle Int32

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.

Remarks

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