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

TileViewItemOptions.Orientation Property

Gets or sets the way tiles are arranged, horizontally or vertically.

Namespace: DevExpress.XtraGrid.Views.Tile

Assembly: DevExpress.XtraGrid.v19.2.dll

Declaration

[XtraSerializableProperty]
[DefaultValue(Orientation.Horizontal)]
public Orientation Orientation { get; set; }

Property Value

Type Default Description
Orientation **Horizontal**

An Orientation enumerator value that specifies how tiles are arranged within the TileView.

Property Paths

You can access this nested property as listed below:

Object Type Path to Orientation
TileView
.OptionsTiles.Orientation

Remarks

In TileViewLayoutMode.Default layout mode, tiles can be arranged in multiple rows and columns. When the Orientation property is set to Horizontal, tiles are arranged down (the maximum number of rows is limited by TileViewItemOptions.RowCount) then across. When the Orientation property is set to Vertical, they are arranged across (the maximum number of columns is limited by TileViewItemOptions.ColumnCount) then down.

In TileViewLayoutMode.Kanban layout mode, tiles are grouped according to values of the TileViewColumns.GroupColumn (you need to specify this column for Kanban layout mode to function properly). Within each group, tiles are arranged vertically (when the Orientation property is set to Horizontal) or horizontally (when the Orientation property is set to Vertical).

See Also