Skip to main content

AutoGenerateColumnsMode Enum

Lists the values used to specify how columns are generated.

Namespace: DevExpress.Xpf.Grid

Assembly: DevExpress.Xpf.Grid.v24.2.Core.dll

NuGet Package: DevExpress.Wpf.Grid.Core

Declaration

public enum AutoGenerateColumnsMode

Members

Name Description
None

Doesn’t create columns.

KeepOld

Creates columns for all properties in a datasource if the grid doesn’t contain any columns.

AddNew

Creates columns for all properties in a datasource, preserving the columns the grid already contains.

RemoveOld

Creates columns for all properties in a datasource, removing columns the grid already contains.

Related API Members

The following properties accept/return AutoGenerateColumnsMode values:

Remarks

Values listed by the AutoGenerateColumnsMode enumeration are used to set the DataControlBase.AutoGenerateColumns property.

See Also