The requested page is not available for the requested platform. You are viewing the content for Default platform.

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

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.

Remarks

Important

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