ITileContainerDefaultProperties.ColumnCount Property

Gets or sets the maximum number of medium-sized tiles that can be placed simultaneously in a single row within a vertically oriented TileContainer.

Namespace: DevExpress.XtraBars.Docking2010.Views.WindowsUI

Assembly: DevExpress.XtraBars.v20.2.dll

Declaration

int? ColumnCount { get; set; }
Property ColumnCount As Integer?

Property Value

Type Description
Nullable<Int32>

An Int32 value that is the maximum number of medium-sized tiles that can be placed simultaneously in a single row within a vertically oriented TileContainer.

Remarks

The ColumnCount property is used only when the TileContainer is vertically oriented. For horizontally oriented TileControls, use the similar ITileContainerDefaultProperties.RowCount property.

The ColumnCount property does not specify the exact number of Tiles within a single row, but the number of logical cells instead. One medium-sized Tile (the TileItem.ItemSize property) occupies one logical cell. Small Tiles occupy 1/2 cell, while large and wide Tiles occupy 2 cells at once. Thus, the ColumnCount property may allow a different number of Tiles within different rows, depending on the size of the Tiles. See the Tile Groups and Items topic to learn more.

See Also