Skip to main content
A newer version of this page is available. .

RepositoryItemGridLookUpEditBase.PopulateViewColumns() Method

Creates columns for all fields in the bound data source.

Namespace: DevExpress.XtraEditors.Repository

Assembly: DevExpress.XtraGrid.v21.2.dll

NuGet Packages: DevExpress.Win.Design, DevExpress.Win.Grid

Declaration

public virtual void PopulateViewColumns()

Remarks

Columns are created in the ColumnView.Columns collection, accessible via the RepositoryItemGridLookUpEditBase.PopupView object.

If this collection already contains columns or the data source (RepositoryItemLookUpEditBase.DataSource) is not set, the PopulateViewColumns method does nothing.

See Also