A newer version of this page is available. Switch to the current version.

TileViewItemOptions.LayoutMode Property

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

Namespace: DevExpress.XtraGrid.Views.Tile

Assembly: DevExpress.XtraGrid.v19.2.dll

Declaration

[XtraSerializableProperty]
[DefaultValue(TileViewLayoutMode.Default)]
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, in which tiles are combined in groups, and each group displays tiles either vertically (when TileViewItemOptions.Orientation is Horizontal) or horizontally (when TileViewItemOptions.Orientation is Vertical). To enable tile grouping, specify the group column with the TileViewColumns.GroupColumn property.

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 Horizontal) or horizontally (when TileViewItemOptions.Orientation is Vertical). To enable tile grouping, specify the group column with the TileViewColumns.GroupColumn property.

See Also