windowsforms-devexpress-dot-xtraeditors-dot-tilecontrol-12738250.md
Gets or sets the dimension of a medium TileItem.
Namespace : DevExpress.XtraEditors
Assembly : DevExpress.XtraEditors.v25.2.dll
NuGet Package : DevExpress.Win.Navigation
[DefaultValue(120)]
[DXCategory("Appearance")]
public int ItemSize { get; set; }
<DefaultValue(120)>
<DXCategory("Appearance")>
Public Property ItemSize As Integer
| Type | Default | Description |
|---|---|---|
| Int32 | 120 |
The dimension of a medium TileItem, in pixels.
|
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