AutoGenerateColumnsMode Enum
Lists the values used to specify how columns are generated.
Namespace: DevExpress.Xpf.Grid
Assembly: DevExpress.Xpf.Grid.v17.2.Core.dll
Declaration
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.
Related GitHub Examples
The following code snippets (auto-collected from DevExpress Examples) contain references to the AutoGenerateColumnsMode enum.
Note
The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.