Skip to main content

ASPxImageGallery.Layout Property

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

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v23.2.dll

NuGet Package: DevExpress.Web


public Layout Layout { get; set; }

Property Value

Type Default Description
Layout Table

One of the Layout values.

Available values:

Name Description

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


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


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


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). 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