Skip to main content

TcxGridLevel.HasAsChild(TcxGridLevel) Method

Specifies whether the current grid level has the specified TcxGridLevel as a child.

Declaration

function HasAsChild(ALevel: TcxGridLevel): Boolean;

Parameters

Name Type
ALevel TcxGridLevel

Returns

Type
Boolean

Remarks

Use the HasChild method to discover whether the current level contains a specific level as a child.

HasAsChild performs a recursive search of the child levels and returns True if the current grid level or one of its detail levels has ALevel as a child. Otherwise, this function returns False.

See Also