Skip to main content

ITileContainerDefaultProperties.ItemSize Property

Gets or sets a medium Tile‘s side dimension for all Tiles within the current TileContainer.

Namespace: DevExpress.XtraBars.Docking2010.Views.WindowsUI

Assembly: DevExpress.XtraBars.v24.1.dll

NuGet Package: DevExpress.Win.Navigation

Declaration

int? ItemSize { get; set; }

Property Value

Type Description
Nullable<Int32>

An Int32 value that specifies a medium Tile‘s side dimension for all Tiles within the current TileContainer.

Remarks

A TileContainer can contain Tiles of 4 sizes - TileItemSize.Small, TileItemSize.Medium, TileItemSize.Wide and TileItemSize.Large. All sizes are calculated based on the medium Tile‘s side dimension.

  • Small - a square Tile with side dimension of half the ItemSize property value.
  • Medium - a square Tile with side dimension equal to the ItemSize property value.
  • Wide - a rectangular Tile with its lesser side equal to the ItemSize property value and its larger side twice as big as the lesser side. This is the default Tile size.
  • Large - an extra large square Tile with side dimensions twice as large as the ItemSize property value.

The figure below visually illustrates the difference between various Tile sizes.

DocumentManager - WidnowsUI - Tile Sizes

To specify the size for an individual Tile, use this Tile’s ItemSize property.

See Also