# Card Layout

RadCardView supports two orientation based layouts arranged in rows or columns.

The layout is controlled with the **CardLayout** property of RadCardView. The default property value is set to **Rows**. In this case, the cards are arranged horizontally. When the there is no more space, the cards are arranged in the next available row. The property can be set also to **Columns**. In this case, the cards are arranged vertically. When there is no more space, the cards are arranged in the next available column.

**Example 1: Setting cards layout**

```XAML
<telerik:RadCardView CardLayout="Columns" />
```

> caption Rows layout (default)

![WPF RadCardView Rows layout (default)](https://www.telerik.com/products/wpf/documentation/assets/b5a60189d54f23dcc369441ea2222503/radcardview-features-card-layout-0.png)

> caption Columns layout

![WPF RadCardView Columns layout](https://www.telerik.com/products/wpf/documentation/assets/5c952684bac04faeedcf8f8a4e672905/radcardview-features-card-layout-1.png)

The size of the cards is controlled with the **MajorLength** and **MinorLength** properties of RadCardView. When the CardLayout is Rows the MajorLength is applied to the card's width and the MinorLength to the card's height. When the CardLayout is Columns the MajorLength is applied to the card's height and the MinorLength to the card's width.

> tip Read more about the MajorLength and MinorLength properties in the [Customizing Cards](https://www.telerik.com/products/wpf/documentation/controls/radcardview/appearance/customizing-cards) article.

## See Also

* [Getting Started](https://www.telerik.com/products/wpf/documentation/controls/radcardview/getting-started)
* [Data Binding](https://www.telerik.com/products/wpf/documentation/controls/radcardview/populating-with-data/data-binding)
* [Customizing Groups](https://www.telerik.com/products/wpf/documentation/controls/radcardview/appearance/customizing-groups)
