# Columns and Rows

## Content



The [Columns](/componentone/api/wpf/online-tilesview/dotnet-framework-api/C1.WPF.TileView.4.6.2/C1.WPF.TileView.C1TileView.Columns.html) and [Rows](/componentone/api/wpf/online-tilesview/dotnet-framework-api/C1.WPF.TileView.4.6.2/C1.WPF.TileView.C1TileView.Rows.html) properties get or set the number of columns and rows in which the [C1TileViewItem](/componentone/api/wpf/online-tilesview/dotnet-framework-api/C1.WPF.TileView.4.6.2/C1.WPF.TileView.C1TileViewItem.html) objects are laid out. If the value is zero, it uses the minimum number that does not require scrolling. If both the **Columns** and **Rows** properties are set to zero, the items are laid out in a square.

The default state uses the **Columns** and **Rows** properties to determine the layout. The minimized and maximized states use the [MinimizedItemsPosition](/componentone/api/wpf/online-tilesview/dotnet-framework-api/C1.WPF.TileView.4.6.2/C1.WPF.TileView.C1TileView.MinimizedItemsPosition.html) property to determine layout. For more information about states, see [TileViewItem States](/componentone/docs/wpf/online-tilesview/WorkingwithTileViewforWPF/TileViewItemStates).

## See Also

[Minimized Item Position](/componentone/docs/wpf/online-tilesview/WorkingwithTileViewforWPF/MinimizedItemPosition)