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

DataViewTableLayoutSettings.ColumnCount Property

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

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v20.2.dll

NuGet Package: DevExpress.Web

Declaration

[DefaultValue(3)]
public virtual int ColumnCount { get; set; }

Property Value

Type Default Description
Int32 3

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

Property Paths

You can access this nested property as listed below:

Library Object Type Path to ColumnCount
ASP.NET Controls and MVC Extensions ASPxDataView
.SettingsTableLayout .ColumnCount
ASPxImageGallery
.SettingsTableLayout .ColumnCount
ASP.NET MVC Extensions DataViewSettings
.SettingsTableLayout .ColumnCount
ImageGallerySettings
.SettingsTableLayout .ColumnCount
MVCxDataView
.SettingsTableLayout .ColumnCount
MVCxImageGallery
.SettingsTableLayout .ColumnCount

Remarks

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

See Also