Skip to main content

LookUpEdit.AutoPopulateColumns Property

Gets or sets whether columns should be created automatically for all fields in a data source. This is a dependency property.

Namespace: DevExpress.Xpf.Grid.LookUp

Assembly: DevExpress.Xpf.Grid.v24.1.dll

NuGet Package: DevExpress.Wpf.Grid.Core

Declaration

public bool AutoPopulateColumns { get; set; }

Property Value

Type Description
Boolean

true, to automatically create columns for all fields in a data source; otherwise, false.

Remarks

If you create columns manually for the embedded grid, set the AutoPopulateColumns property to false to disable automatic column generation. Otherwise, the LookupEdit substitutes your columns with the automatically generated ones.

To learn more, see Creating Columns and Binding Them to Data Properties.

The following code snippets (auto-collected from DevExpress Examples) contain references to the AutoPopulateColumns property.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also