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.v20.1.dll

Declaration

[XtraSerializableProperty]
[DefaultValue(1)]
public int RowCount { get; set; }
<XtraSerializableProperty>
<DefaultValue(1)>
Public Property RowCount As Integer

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.

Tile View - **LayoutMode: Default** <br/>Orientation: Horizontal, RowCount: 3, StretchItems: false

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.

Tile View - **LayoutMode: List**<br/>Orientation: Horizontal

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.

Implements

DevExpress.XtraEditors.ITileControlProperties.RowCount
See Also