Back to Devexpress

TileControl.ItemSize Property

windowsforms-devexpress-dot-xtraeditors-dot-tilecontrol-12738250.md

latest2.3 KB
Original Source

TileControl.ItemSize Property

Gets or sets the dimension of a medium TileItem.

Namespace : DevExpress.XtraEditors

Assembly : DevExpress.XtraEditors.v25.2.dll

NuGet Package : DevExpress.Win.Navigation

Declaration

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

Property Value

TypeDefaultDescription
Int32120

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

ItemSize

IndentBetweenItems

Tile Groups and Items

TileControl Class

TileControl Members

DevExpress.XtraEditors Namespace