Skip to main content
A newer version of this page is available. .

TileItem.ItemSize Property

Gets or sets the size of the TileItem.

Namespace: DevExpress.XtraEditors

Assembly: DevExpress.XtraEditors.v19.1.dll

Declaration

[DefaultValue(TileItemSize.Default)]
[DXCategory("Appearance")]
[SmartTagProperty("Item Size", "Appearance", 70, SmartTagActionType.RefreshAfterExecute)]
[XtraSerializableProperty]
public TileItemSize ItemSize { get; set; }

Property Value

Type Default Description
TileItemSize **Default**

A TileItemSize enumerator value that specifies the size of the TileItem.

Available values:

Name Description
Default

The default Tile size (equal to the TileItemSize.Wide size).

Small

A rectangular Tile with its side dimensions equal to half of the TileControl.ItemSize property value.

Medium

A square Tile with its dimensions equal to the TileControl.ItemSize property value.

Wide

A rectangular Tile twice as long as a TileItemSize.Medium Tile.

Large

A rectangular tile whose side dimensions are twice as large as the TileControl.ItemSize property value.

Remarks

The ItemSize property specifies the shape and the size of the current TileItem. TileItem sizes are calculated depending on the TileControl.ItemSize property.

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

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

DocumentManager - WidnowsUI - Tile Sizes

Wide and Large Tiles can occupy multiple rows depending on the TileItem.RowCount property.

See Also