TileControl.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 TileControl.
Namespace: DevExpress.XtraEditors
Assembly: DevExpress.XtraEditors.v24.2.dll
Declaration
Property Value
Type | Default | Description |
---|---|---|
Int32 | 0 | 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 TileControl. |
Remarks
The ColumnCount property is used only when the TileControl is vertically oriented (see the TileControl.Orientation property). For horizontally oriented TileControls, use the similar TileControl.RowCount property.
The ColumnCount property does not specify the exact number of Tiles within a single row, but the number logical cells instead. One medium-sized Tile (the TileItem.ItemSize property) occupies one logical cell. Small Tiles occupy 1/2 of a cell, while large and wide Tiles occupy 2 cells at once. Thus, the ColumnCount property may allow a different number of Tiles in different rows, depending on size of the Tiles.