Class AutoGenerateColumnsMode
Defines the constants that specify the mode of auto-generated columns in SfDataGrid.
Inheritance
System.Object
AutoGenerateColumnsMode
Namespace: Syncfusion.UI.Xaml.Grid
Assembly: Syncfusion.SfGrid.WPF.dll
Syntax
public sealed class AutoGenerateColumnsMode : Enum
Fields
None
Generates the columns based on the explicit column definition in SfDataGrid.
Declaration
public const AutoGenerateColumnsMode None
Field Value
Type |
---|
AutoGenerateColumnsMode |
Reset
Generates the columns based on the properties defined in the underlying data object and explicit column definition.
Declaration
public const AutoGenerateColumnsMode Reset
Field Value
Type |
---|
AutoGenerateColumnsMode |
ResetAll
Generates the columns based on the properties defined in the underlying data object.
Declaration
public const AutoGenerateColumnsMode ResetAll
Field Value
Type |
---|
AutoGenerateColumnsMode |
RetainOld
Generates the columns based on the properties defined in the underlying data object, when the SfDataGrid doesn’t have an explicit column definition.
Declaration
public const AutoGenerateColumnsMode RetainOld
Field Value
Type |
---|
AutoGenerateColumnsMode |
SmartReset
Generates the columns and retains data operation based on the properties defined in underlying data object.
Declaration
public const AutoGenerateColumnsMode SmartReset
Field Value
Type |
---|
AutoGenerateColumnsMode |