AutoGenerateColumnsMode Enum

Lists values used to specify how columns are generated in the grid.

Namespace: DevExpress.Mobile.DataGrid

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

Declaration

public enum AutoGenerateColumnsMode
Public Enum AutoGenerateColumnsMode

Members

Name Description
Auto

Creates columns for all fields of a data source if the grid does not contain any columns.

Add

Creates columns for all fields of a data source, preserving the columns the grid already contains.

Replace

Creates columns for all fields of a datasource, removing columns the grid already contains.

None

Does not create columns.

Related API Members

The following properties accept/return AutoGenerateColumnsMode values:

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.

The AutoGenerateColumnsMode enumeration values are used by the GridControl.AutoGenerateColumnsMode property.

See Also