Class AutoGenerateColumnsModeForCustomType
Defines the constants that specify how columns are auto-generated for custom type properties.
Inheritance
System.Object
AutoGenerateColumnsModeForCustomType
Namespace: Syncfusion.UI.Xaml.Grid
Assembly: Syncfusion.SfGrid.WPF.dll
Syntax
public sealed class AutoGenerateColumnsModeForCustomType : Enum
Remarks
Use AutoGenerateColumnsForCustomType to control whether the grid generates columns for the parent property, the child properties, or both.
Fields
Both
Specifies that columns for both the custom type and its inner properties will be auto-generated.
Declaration
public const AutoGenerateColumnsModeForCustomType Both
Field Value
| Type |
|---|
| AutoGenerateColumnsModeForCustomType |
Remarks
Child
Specifies that only the columns for all inner properties of the custom type will be auto-generated.
Declaration
public const AutoGenerateColumnsModeForCustomType Child
Field Value
| Type |
|---|
| AutoGenerateColumnsModeForCustomType |
Remarks
The custom type itself is not generated as a column.
Parent
Specifies that only the column for the custom type will be auto-generated.
Declaration
public const AutoGenerateColumnsModeForCustomType Parent
Field Value
| Type |
|---|
| AutoGenerateColumnsModeForCustomType |
Remarks
Inner properties of the custom type are ignored.