TileControl.ItemSize Property

Gets or sets the dimension of a medium TileItem.

Namespace: DevExpress.XtraEditors

Assembly: DevExpress.XtraEditors.v20.1.dll

Declaration

[DefaultValue(120)]
[DXCategory("Appearance")]
public int ItemSize { get; set; }
<DefaultValue(120)>
<DXCategory("Appearance")>
Public Property ItemSize As Integer

Property Value

Type Default Description
Int32

120

The dimension of a medium TileItem, in pixels.

Remarks

The TileControl supports small, medium, wide and large tiles. The type of tile is specified by the TileItem.ItemSize property.

The TileControl.ItemSize property specifies the dimension in pixels of a square medium tile, i.e of a tile that has the TileItem.ItemSize property set to TileItemSize.Medium. The dimensions of other tile types are calculated based on the TileControl.ItemSize value. For instance, a small tile has its width and height equal to a half of the TileControl.ItemSize value, while a large tile's width and height are twice as large as this value. See TileItem.ItemSize to learn more.

Implements

DevExpress.XtraEditors.ITileControlProperties.ItemSize
See Also