Skip to main content

TcxGridBand.HasAsParent(TcxGridBand) Method

Indicates whether the current band has the specified TcxGridBand as a parent band.

Declaration

function HasAsParent(ABand: TcxGridBand): Boolean;

Parameters

Name Type
ABand TcxGridBand

Returns

Type
Boolean

Remarks

Use the HasAsParent method to determine whether the current band has a specific band as its parent band.

HasAsParent performs a recursive search of the parent bands and returns True if the current band or one of its parent bands has the band specified by the ABand parameter as a parent band. Otherwise, this function returns False.

See Also