Skip to main content

TcxGridCardView.RowLayout Property

Specifies the card row layout.

Declaration

property RowLayout: TcxGridCardViewRowLayout read; write; default rlHorizontal;

Property Value

Type Default Description
TcxGridCardViewRowLayout rlHorizontal

The active card row layout.

Remarks

A Card View allows you to specify one of two types of card row layout:

rlHorizontal

Card rows are arranged in a row, from left to right:

VCL Data Grid: A Horizontal Row Layout Example

rlVertical

Card rows are arranged in a column, from top to bottom:

VCL Data Grid: A Vertical Row Layout Example

Additionally, a card can be split into an arbitrary number of rows or columns. When using a split layout, rows and columns are named layers. To create multiple layers in a card, set the Position.BeginsLayer property of card rows that start new layers to True.

Default Value

The RowLayout property’s default value is rlHorizontal.

See Also