wpf-6298-controls-and-libraries-data-grid-views-card-view-cards-layout.md
A Card View can arrange cards in columns or rows. This is specified by the CardView.CardLayout property.
Columns Layout
Rows Layout
The maximum number of cards in a row (or column) is specified by the CardView.MaxCardCountInRow property.
The alignment of cards is specified by the CardView.CardAlignment property. The table below shows all possible card alignments:
Rows Alignment
| Center | Far | Near |
|---|---|---|
Columns Alignment
| Center | Far | Near |
|---|---|---|
By default, a card’s size (its width or height depending on the layout) is automatically calculated to display its content in the optimal way. As a result, different cards can have different sizes. To avoid this, and specify the same size for all cards displayed within a view, use the CardView.FixedSize property. The minimum size to which a card can be resized is specified by the CardView.MinFixedSize property.
An end-user can resize cards by dragging a Card Separator if the CardView.FixedSize property is specified and the CardView.AllowCardResizing property is set to true.