AutoGenerateColumnsMode Enum

Lists the values used to specify how columns are generated.

Namespace: DevExpress.Xpf.Grid

Assembly: DevExpress.Xpf.Grid.v20.1.Core.dll

Declaration

public enum AutoGenerateColumnsMode
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