Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

BaseRow.HasAsChild(BaseRow) Method

Indicates whether the row has the child row specified.

Namespace: DevExpress.XtraVerticalGrid.Rows

Assembly: DevExpress.XtraVerticalGrid.v24.2.dll

NuGet Packages: DevExpress.Win.Navigation, DevExpress.Win.VerticalGrid

#Declaration

public bool HasAsChild(
    BaseRow gridRow
)

#Parameters

Name Type Description
gridRow BaseRow

A BaseRow descendant representing the row to test.

#Returns

Type Description
Boolean

true if the row is the parent for the row specified; otherwise false.

#Remarks

Use this method to determine if the row is a parent for the row specified by the gridRow parameter.

The HasAsChild method calls the specified row’s BaseRow.HasAsParent method and passes the current row as its parameter. As a result, rows are inspected from the level of a row specified by the gridRow parameter to the root level to determine if the current row is on this path.

See Also