Back to Devexpress

TileViewItemOptions.LayoutMode Property

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

latest5.5 KB
Original Source

TileViewItemOptions.LayoutMode Property

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

Namespace : DevExpress.XtraGrid.Views.Tile

Assembly : DevExpress.XtraGrid.v25.2.dll

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

Declaration

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

Property Value

TypeDefaultDescription
TileViewLayoutModeDefault

Tile layout mode.

|

Available values:

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

See Also

Kanban Board

GroupColumn

Orientation

RowCount

ColumnCount

OptionsKanban

Kanban Board

TileViewItemOptions Class

TileViewItemOptions Members

DevExpress.XtraGrid.Views.Tile Namespace