ImageGallerySettings.Layout Property

Gets or sets the layout of the ImageGallery's contents.

Namespace: DevExpress.Web.Mvc

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


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

Property Value

Type Description

One of the Layout values.


If the Layout property is set to Table, the extension's contents are displayed using a table with a predefined number of rows (DataViewTableLayoutSettings.RowsPerPage) and columns (DataViewTableLayoutSettings.ColumnCount). 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.

See Also