Back to Devexpress

Tile.Size Property

wpf-devexpress-dot-xpf-dot-layoutcontrol-dot-tile.md

latest2.0 KB
Original Source

Tile.Size Property

Gets or sets the tile’s size. This is a dependency property.

Namespace : DevExpress.Xpf.LayoutControl

Assembly : DevExpress.Xpf.LayoutControl.v25.2.dll

NuGet Package : DevExpress.Wpf.LayoutControl

Declaration

csharp
public TileSize Size { get; set; }
vb
Public Property Size As TileSize

Property Value

TypeDescription
TileSize

A TileSize enumeration value that specifies the tile size.

|

Available values:

NameDescription
ExtraSmall

A small square tile of 70x70 pixels.

| | Small |

A medium square tile of 150x150 pixels.

| | Large |

A wide tile of 310x150 pixels.

| | ExtraLarge |

An extra large square tile of 310x310 pixels.

|

Remarks

Tiles (Tile objects) can be of four predefined sizes:

  • Small - A medium square tile of 150x150 pixels.
  • Large - A wide tile of 310x150 pixels.
  • Extra Small - A small square tile of 70x70 pixels.
  • Extra Large - An extra large square tile of 310x310 pixels.

Specify the Tile.Size property to set the tile’s size. This property affects the number of tiles per column and row according to the image above.

Note

The TileLayoutControl arranges tiles only based on their Tile.Size values. The Width and Height properties of tile items do not affect the order of items.

See Also

Tile Class

Tile Members

DevExpress.Xpf.LayoutControl Namespace