Skip to main content

TileViewItemOptions.LayoutMode Property

Gets or sets the layout mode for tiles within the TileView.

Namespace: DevExpress.XtraGrid.Views.Tile

Assembly: DevExpress.XtraGrid.v23.2.dll

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

Declaration

[DefaultValue(TileViewLayoutMode.Default)]
[XtraSerializableProperty]
public TileViewLayoutMode LayoutMode { get; set; }

Property Value

Type Default Description
TileViewLayoutMode Default

Tile layout mode.

Available values:

Name Description
Default

The default tile layout mode, in which tiles are arranged in multiple columns and rows. In horizontal mode (see TileViewItemOptions.Orientation), tiles are arranged down (the maximum number of rows is limited by TileViewItemOptions.RowCount) then across. In vertical mode, they are arranged across (the maximum number of columns is limited by TileViewItemOptions.ColumnCount) then down.

Kanban

Kanban layout mode. Tiles are combined in groups based on group column values (TileViewColumns.GroupColumn). Each group is scrolled independently.

List

A multi-column or multi-row list of stretching tiles.

If the TileViewItemOptions.Orientation setting is Horizontal, tiles are arranged in one or more rows while stretching to fit the View’s height. The number of rows is specified by the TileViewItemOptions.RowCount property.

If the TileViewItemOptions.Orientation setting is Vertical, tiles are arranged in one or more columns while stretching to fit the View’s width. The number of columns is specified by the TileViewItemOptions.ColumnCount property.

Property Paths

You can access this nested property as listed below:

Object Type Path to LayoutMode
TileView
.OptionsTiles .LayoutMode

Remarks

In Default tile layout mode, tiles can be arranged in multiple columns and rows. In horizontal mode (see TileViewItemOptions.Orientation), tiles are arranged down (the maximum number of rows is limited by TileViewItemOptions.RowCount) then across. In vertical mode, they are arranged across (the maximum number of columns is limited by TileViewItemOptions.ColumnCount) then down.

In Kanban layout mode, tiles are combined in groups, and each group displays tiles either vertically (when TileViewItemOptions.Orientation is Vertical) or horizontally (when TileViewItemOptions.Orientation is Horizontal). To enable tile grouping, specify the group column with the TileViewColumns.GroupColumn property. Use the TileView.OptionsKanban property to customize Kanban board-specific options.

image

See Also