Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

TileControl.ItemSize Property

Gets or sets the dimension of a medium TileItem.

Namespace: DevExpress.XtraEditors

Assembly: DevExpress.XtraEditors.v24.2.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