Syncfusion.SfGrid.WPF


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.
Syntax
'Declaration
 
Public Property AutoGenerateColumns As Boolean
'Usage
 
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.
Remarks
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.
AssemblyVersion

Syncfusion.SfGrid.WPF: 17.1460.0.47

See Also