GridControl.AutoGenerateColumnsMode Property

Gets or sets how columns should be automatically created for fields of the underlying data source, depending on whether the grid contains any columns.

Namespace: DevExpress.Mobile.DataGrid

Assembly: DevExpress.Mobile.Grid.v18.2.dll


public AutoGenerateColumnsMode AutoGenerateColumnsMode { get; set; }
Public Property AutoGenerateColumnsMode As AutoGenerateColumnsMode

Property Value

Type Description

An AutoGenerateColumnsMode enumeration value that specifies the way columns are generated.



This documentation topic describes legacy technology. We no longer develop new functionality for the GridControl and suggest that you use the new DataGridView control instead.

Set the AutoGenerateColumnsMode property to AutoGenerateColumnsMode.None to prevent columns from being automatically created.

See Also