DataControlBase.AutoGenerateColumns Property
In This Article
Gets or sets whether columns should be created automatically for all fields in the underlying data source when the View doesn't contain any columns.
Namespace: DevExpress.Xpf.Grid
Assembly: DevExpress.Xpf.Grid.v14.2.Core.dll
#Declaration
[CloneDetailMode(CloneDetailMode.Skip)]
public AutoGenerateColumnsMode AutoGenerateColumns { get; set; }
#Property Value
Type | Description |
---|---|
Auto |
An Auto |
#Remarks
This property specifies the way the DataControlBase.PopulateColumns method is working.
Set the AutoGenerateColumns property to AutoGenerateColumnsMode.None to prevent columns from being automatically created.
See Also