TileItem.ItemSize Property

Gets or sets the size of the TileItem.

Namespace: DevExpress.XtraEditors

Assembly: DevExpress.XtraEditors.v20.1.dll

Declaration

[DefaultValue(TileItemSize.Default)]
[DXCategory("Appearance")]
[XtraSerializableProperty]
public TileItemSize ItemSize { get; set; }
<DefaultValue(TileItemSize.Default)>
<DXCategory("Appearance")>
<XtraSerializableProperty>
Public Property ItemSize As TileItemSize

Property Value

Type Default Description
TileItemSize

Default

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

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.

Implements

DevExpress.XtraEditors.ITileItemProperties.ItemSize
See Also