ComponentOne FlexGrid for WinForms
AutoGenerateColumns Property

C1.Win.C1FlexGrid Namespace > C1FlexGridBase Class : AutoGenerateColumns Property
Gets or sets whether columns are automatically created when the grid is bound to a data source.
Public Property AutoGenerateColumns As Boolean
public bool AutoGenerateColumns {get; set;}
By default, assigning a new DataSource to the grid resets the column collection to reflect the data source schema. If you set AutoGenerateColumns to false, the existing column layout will be preserved.
See Also


C1FlexGridBase Class
C1FlexGridBase Members