GridControl.GetParentRowHandle(Int32) Method
In This Article
Determines a particular row’s parent group row.
Namespace: DevExpress.WinUI.Grid
Assembly: DevExpress.WinUI.Grid.v23.2.dll
NuGet Package: DevExpress.WinUI
#Declaration
#Parameters
Name | Type | Description |
---|---|---|
row |
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