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

ASPxDataView.Layout Property

Gets or sets the layout mode of the ASPxDataView.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v18.2.dll


public Layout Layout { get; set; }
Public Property Layout As Layout

Property Value

Type Default Description


One of the Layout values.


If the Layout property is set to Table, the control's contents are displayed using a table with a predefined number of rows (DataViewTableLayoutSettings.RowsPerPage) and columns (DataViewTableLayoutSettings.ColumnCount). In this case, the item size is defined automatically and is changed with window resizing.

If this property is set to Flow, the content data items flow one after another with a predefined number of items on a page (DataViewDivBasedLayoutSettings.ItemsPerPage) to fill the available page area within the browser window in the best possible way. In this case, the item size is defined by the ItemStyle.Height and ItemStyle.Width properties and is not changed with window resizing.

See Also