Syncfusion.SfDataGrid.XForms
Syncfusion.SfDataGrid.XForms Namespace : AutoGenerateColumnsMode Enumeration

AutoGenerateColumnsMode Enumeration

Describes the possible AutoGenerateColumnsMode in a SfDataGrid control based on which columns are auto generated.
Syntax
public enum AutoGenerateColumnsMode : System.Enum 
Members
MemberDescription
NoneKeep the columns that are manually defined in SfDataGrid.Columns collection.
Reset Creates columns for all properties in a data source, retaining the columns added by the user.
ResetAll Creates columns for all properties in a data source, removing all the old columns.
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.
SmartResetCreates columns for all properties in a data source, retaining the columns added by the user and the columns with GridColumn.MappingName identical to the properties in the bound data source.
Inheritance Hierarchy

System.Object
   System.ValueType
      System.Enum
         Syncfusion.SfDataGrid.XForms.AutoGenerateColumnsMode

AssemblyVersion

Syncfusion.SfDataGrid.XForms: 17.2451.0.34

See Also