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

GridControl.GetParentRowHandle(Int32) Method

Determines a particular row's parent group row.

Namespace: DevExpress.UI.Xaml.Grid

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

Declaration

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

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