Skip to main content
A newer version of this page is available. .
Tab

ImageGalleryTableLayoutSettings.ColumnCount Property

Gets or sets the number of columns that a page displays in table mode.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v19.2.dll

Declaration

[DefaultValue(4)]
public override int ColumnCount { get; set; }

Property Value

Type Default Description
Int32 4

An Int32 value that specifies the number of columns displayed within a page.

Property Paths

You can access this nested property as listed below:

Object Type Path to ColumnCount
ASPxImageGallery
.SettingsTableLayout.ColumnCount
ImageGallerySettings
.SettingsTableLayout.ColumnCount
MVCxImageGallery
.SettingsTableLayout.ColumnCount

Remarks

Use the ColumnCount property to specify the number of columns that a page displays when the ASPxImageGallery.Layout property is set to Table. The number of rows can be specified via the DataViewTableLayoutSettings.RowsPerPage property.

If the control displays data in a flow layout (the ASPxImageGallery.Layout property is set to Flow), the number of items on a page can be specified via the ImageGalleryFlowLayoutSettings.ItemsPerPage property.

See Also