Skip to main content
Tab

ImageGalleryTableLayoutSettings.ColumnCount Property

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

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v24.2.dll

NuGet Package: DevExpress.Web

#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:

Library Object Type Path to ColumnCount
ASP.NET MVC Extensions ImageGallerySettings
.SettingsTableLayout .ColumnCount
ASP.NET Web Forms Controls ASPxImageGallery
.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