windowsforms-devexpress-dot-xtragrid-dot-views-dot-tile-dot-tileviewitemoptions-62198c2b.md
Gets or sets the maximum or exact number of rows (depending on layout mode) to accommodate tiles. The RowCount property is in effect when the TileViewItemOptions.Orientation setting is Horizontal. The property is ignored in Kanban layout mode.
Namespace : DevExpress.XtraGrid.Views.Tile
Assembly : DevExpress.XtraGrid.v25.2.dll
NuGet Packages : DevExpress.Win.Grid, DevExpress.Win.Navigation
[DefaultValue(1)]
[XtraSerializableProperty]
public int RowCount { get; set; }
<XtraSerializableProperty>
<DefaultValue(1)>
Public Property RowCount As Integer
| Type | Default | Description |
|---|---|---|
| Int32 | 1 |
The number of rows to accommodate tiles.
|
You can access this nested property as listed below:
| Object Type | Path to RowCount |
|---|---|
| TileView |
.OptionsTiles .RowCount
|
The RowCount property is in effect when the TileViewItemOptions.Orientation setting is Horizontal. The property’s value is interpreted differently in different layout modes.
When tile stretching is disabled (see TileView.OptionsTiles.StretchItems), the RowCount property specifies the maximum number of rows to accommodate tiles. If the property is set to 0 , the row number is not limited.
When tile stretching is enabled, the RowCount property specifies the exact number of displayed rows, as in List layout mode.
The RowCount property specifies the exact number of displayed rows. If the property is set to 0 , the actual row number is 1.
The RowCount property is ignored. The Tile View generates rows (Kanban groups) based on unique values provided by the TileView.ColumnSet.GroupColumn column. You can also manually create Kanban Groups via the TileView.OptionsKanban.Groups collection.
See Also