Back to Devexpress

TileViewItemOptions.Orientation Property

windowsforms-devexpress-dot-xtragrid-dot-views-dot-tile-dot-tileviewitemoptions-e078373c.md

latest3.3 KB
Original Source

TileViewItemOptions.Orientation Property

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

Namespace : DevExpress.XtraGrid.Views.Tile

Assembly : DevExpress.XtraGrid.v25.2.dll

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

Declaration

csharp
[DefaultValue(Orientation.Horizontal)]
[XtraSerializableProperty]
public Orientation Orientation { get; set; }
vb
<XtraSerializableProperty>
<DefaultValue(Orientation.Horizontal)>
Public Property Orientation As Orientation

Property Value

TypeDefaultDescription
OrientationHorizontal

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 TypePath 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

ColumnCount

RowCount

LayoutMode

TileViewItemOptions Class

TileViewItemOptions Members

DevExpress.XtraGrid.Views.Tile Namespace