Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

TileViewItemOptions.RowCount Property

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.v24.2.dll

NuGet Packages: DevExpress.Win.Grid, DevExpress.Win.Navigation

#Declaration

[DefaultValue(1)]
[XtraSerializableProperty]
public int RowCount { get; set; }

#Property Value

Type Default Description
Int32 1

The number of rows to accommodate tiles.

#Property Paths

You can access this nested property as listed below:

Object Type Path to RowCount
TileView
.OptionsTiles .RowCount

#Remarks

The RowCount property is in effect when the TileViewItemOptions.Orientation setting is Horizontal. The property’s value is interpreted differently in different layout modes.

#Default layout mode

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.

#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.

#Kanban layout mode

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