Back to Devexpress

DataViewTableLayoutSettings.ColumnCount Property

aspnet-devexpress-dot-web-dot-dataviewtablelayoutsettings.md

latest2.3 KB
Original Source

DataViewTableLayoutSettings.ColumnCount Property

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

Namespace : DevExpress.Web

Assembly : DevExpress.Web.v25.2.dll

NuGet Package : DevExpress.Web

Declaration

csharp
[DefaultValue(3)]
public virtual int ColumnCount { get; set; }
vb
<DefaultValue(3)>
Public Overridable Property ColumnCount As Integer

Property Value

TypeDefaultDescription
Int323

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

|

Property Paths

You can access this nested property as listed below:

LibraryObject TypePath to ColumnCount
ASP.NET MVC ExtensionsDataViewSettings

.SettingsTableLayout .ColumnCount

| | ASP.NET Web Forms Controls | ASPxDataView |

.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

Layout Modes

DataView

DataViewTableLayoutSettings Class

DataViewTableLayoutSettings Members

DevExpress.Web Namespace