Skip to main content

DataViewSettings.Layout Property

Gets or sets the layout of the DataView‘s contents.

Namespace: DevExpress.Web.Mvc

Assembly: DevExpress.Web.Mvc5.v24.1.dll

NuGet Package: DevExpress.Web.Mvc5

Declaration

public Layout Layout { get; set; }

Property Value

Type Description
Layout

One of the Layout enumeration values.

Available values:

Name Description
Table

Data items are displayed using the fixed table layout with the specified column and row count.

Flow

Data items flow one after another, to fill the available page area.

Breakpoints

Organizes items according to custom layout scenarios for different browser widths.

Remarks

If the Layout property is set to Table, the extension’s contents are displayed using a table with a predefined number columns (DataViewTableLayoutSettings.ColumnCount). If this property is set to Flow, the content data items flow one after another, to fill the available page area within the browser window in the best possible way.

See Also