Skip to main content

TcxGridCardViewVisibleRowLayoutObject.GetLayerCount(TcxGridCardViewRow) Method

Returns the number of layers occupied by ARow and its children.

Declaration

function GetLayerCount(ARow: TcxGridCardViewRow): Integer;

Parameters

Name Type
ARow TcxGridCardViewRow

Returns

Type
Integer

Remarks

If ARow is a category row (the ARow‘s Kind property is set to rkCategory), ARow and its children can be divided between different layers (see the View’s Position.BeginsLayer property).

The GetLayerCount method returns how many layers ARow and its children reside in.

See Also