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

AutoGenerateColumns Property (SfGridBase)

Gets or sets a value that indicates whether the columns should be created automatically.
Public Property AutoGenerateColumns As Boolean
Dim instance As SfGridBase
Dim value As Boolean
instance.AutoGenerateColumns = value
value = instance.AutoGenerateColumns
public bool AutoGenerateColumns {get; set;}

Property Value

true if the columns are automatically generated; otherwise , false. The default value is true.
Each column gets notified in the SfDataGrid.AutoGeneratingColumn event during its creation. You can cancel or customize the column being created by using this event.

Syncfusion.SfGrid.WPF: 17.4460.0.39

See Also