Skip to main content

TcxGridCardViewRowPosition.BeginsLayer Property

Specifies whether the currently processed row and subsequent rows will be put upon a new layout.

Declaration

property BeginsLayer: Boolean read; write;

Property Value

Type
Boolean

Remarks

A Card View allows you to specify two card row layouts:

Card rows can be arranged into a row (a chain of items from left to right) when the View’s RowLayout property is set to rlHorizontal:

They can be shown in a column orientation (one under another) when the View’s RowLayout property is set to rlVertical:

A card layout, however, is not limited to a card row only orientation. The grid control offers a more advanced layout technique: you can divide the card into an arbitrary number of rows or columns. In this split layout, rows/columns are named “layers”. Each layer can hold a different set of card rows. You simply specify which row will begin a separate layer.

Set the BeginsLayer property to True to create a new layer that the current row (see the Item property) will start. Otherwise, the present row will be located in the same layer as the next row.

Note

The BeginsLayer property value is always True for the first row in a card.

See Also