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.1.dll

Declaration

[XtraSerializableProperty]
public AutoGenerateColumnsMode AutoGenerateColumnsMode { get; set; }
<XtraSerializableProperty>
Public Property AutoGenerateColumnsMode As AutoGenerateColumnsMode

Property Value

Type Description
AutoGenerateColumnsMode

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

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

See Also