Tile.Size Property
Gets or sets the tile’s size. This is a dependency property.
Namespace: DevExpress.Xpf.LayoutControl
Assembly: DevExpress.Xpf.LayoutControl.v19.2.dll
Declaration
Property Value
Type | Description |
---|---|
TileSize | A TileSize enumeration value that specifies the tile size. |
Available values:
Name | Description |
---|---|
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.
Related GitHub Examples
The following code snippets (auto-collected from DevExpress Examples) contain references to the Size property.
Note
The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.