Skip to main content

BaseRow.HasAsChild(BaseRow) Method

Indicates whether the row has the child row specified.

Namespace: DevExpress.XtraVerticalGrid.Rows

Assembly: DevExpress.XtraVerticalGrid.v24.1.dll

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


public bool HasAsChild(
    BaseRow gridRow


Name Type Description
gridRow BaseRow

A BaseRow descendant representing the row to test.


Type Description

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


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