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

Declaration

[DefaultValue(0)]
[DXCategory("Properties")]
public int ColumnCount { get; set; }
<DefaultValue(0)>
<DXCategory("Properties")>
Public Property ColumnCount As Integer

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.

Implements

DevExpress.XtraEditors.ITileControlProperties.ColumnCount
See Also