Skip to main content
Tab

ASPxCardView.AutoGenerateColumns Property

Gets or sets whether columns are automatically created for all fields in the underlying data source.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v24.1.dll

NuGet Package: DevExpress.Web

Declaration

[DefaultValue(true)]
public bool AutoGenerateColumns { get; set; }

Property Value

Type Default Description
Boolean true

true, to automatically create columns for all fields in the underlying data source; otherwise, false.

Remarks

The AutoGenerateColumns property specifies which data fields are rendered by the ASPxCardView. By default, this property is set to true. This forces the ASPxCardView to render each field from the data source as a column. The order of columns is the same as the order of fields in the data source.

You can also manually control which columns are to appear in the ASPxCardView by setting the AutoGenerateColumns property to false. In this case, you should manually add columns to the ASPxCardView.Columns collection.

See Also