Skip to main content

TileViewItemOptions.Orientation Property

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

Namespace: DevExpress.XtraGrid.Views.Tile

Assembly: DevExpress.XtraGrid.v24.1.dll

NuGet Packages: DevExpress.Win.Grid, DevExpress.Win.Navigation

Declaration

[DefaultValue(Orientation.Horizontal)]
[XtraSerializableProperty]
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