Gets or sets a value that specifies how cards are arranged within a Card View.
NuGet Package: DevExpress.Wpf.Grid.Core
A CardLayout enumeration value that specifies how cards are arranged within a Card View.
Cards are arranged in rows.
Cards are arranged in columns.
A Card View can arrange cards in columns or rows. This is specified by the CardLayout property.
By default, a Card View arranges cards in columns. The first card is displayed at a View’s top-left corner. Subsequent cards are positioned under the previous ones. If a card cannot be placed there without being truncated, it is placed at the top of the next column. Subsequent cards are positioned under this card, etc.
Cards can also be arranged in rows. In this instance, set the CardLayout property to CardLayout.Rows. In this case, the first card is displayed at a View’s top left corner. Subsequent cards are positioned next to the previous ones. If a card cannot be entirely displayed, it is displayed on the next row, etc.
The maximum number of cards in a row (or column) is specified by the CardView.MaxCardCountInRow property.
To learn more, see Cards Layout.