Skip to main content

TileControl.ItemSize Property

Gets or sets the dimension of a medium TileItem.

Namespace: DevExpress.XtraEditors

Assembly: DevExpress.XtraEditors.v24.1.dll

NuGet Package: DevExpress.Win.Navigation

Declaration

[DefaultValue(120)]
[DXCategory("Appearance")]
public int ItemSize { get; set; }

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.

See Also