Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

TileViewItemOptions.Orientation Property

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

Namespace: DevExpress.XtraGrid.Views.Tile

Assembly: DevExpress.XtraGrid.v24.2.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