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.v18.2.dll

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.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the PopulateViewColumns() method.

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