Skip to main content

AutoGenerateColumnsMode Enum

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

Namespace: DevExpress.XamarinForms.DataGrid

Assembly: DevExpress.XamarinForms.Grid.dll

NuGet Package: DevExpress.XamarinForms.Grid

Declaration

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 data source, removing columns the grid already contains.

None

Doesn’t create columns.

Related API Members

The following properties accept/return AutoGenerateColumnsMode values:

Remarks

Use the AutoGenerateColumnsMode enumeration’s values to set the DataGridView.AutoGenerateColumnsMode property.

See Also