Syncfusion.UI.Xaml.Grid Namespace > SfGridBase Class : AutoGenerateColumnsForCustomType Property

AutoGenerateColumnsForCustomType Property (SfGridBase)

Gets or sets a value that indicates whether to generate columns automatically for the custom types in data object.
public bool AutoGenerateColumnsForCustomType {get; set;}

Property Value

true if the custom type properties are automatically generated; otherwise , false. The default value is false.
Setting AutoGenerateColumnsForCustomType to true, generate columns for inner properties.For example, OrderInfo class has Customer property of type Customer, then column generated like Customer.CustomerID.

Syncfusion.SfGrid.UWP: 16.4460.0.52

See Also