Class AutoGenerateColumnsMode
Describes the possible AutoGenerateColumnsMode in a SfDataGrid control based on which columns are auto generated.
Inheritance
System.Object
AutoGenerateColumnsMode
Namespace: Syncfusion.SfDataGrid.XForms
Assembly: Syncfusion.SfDataGrid.XForms.dll
Syntax
public sealed class AutoGenerateColumnsMode : Enum
Fields
None
Keep the columns that are manually defined in Columns collection.
Declaration
public const AutoGenerateColumnsMode None
Field Value
Type |
---|
AutoGenerateColumnsMode |
Reset
Creates columns for all properties in a data source, retaining the columns added by the user.
Declaration
public const AutoGenerateColumnsMode Reset
Field Value
Type |
---|
AutoGenerateColumnsMode |
ResetAll
Creates columns for all properties in a data source, removing all the old columns.
Declaration
public const AutoGenerateColumnsMode ResetAll
Field Value
Type |
---|
AutoGenerateColumnsMode |
RetainOld
Creates columns for all properties in a data source, if the grid doesn't contain any user defined column, else retains only the user defined columns.
Declaration
public const AutoGenerateColumnsMode RetainOld
Field Value
Type |
---|
AutoGenerateColumnsMode |
SmartReset
Creates columns for all properties in a data source, retaining the columns added by the user and the columns with MappingName identical to the properties in the bound data source.
Declaration
public const AutoGenerateColumnsMode SmartReset
Field Value
Type |
---|
AutoGenerateColumnsMode |