RepositoryItemGridLookUpEditBase.PopulateViewColumns() Method

Creates columns for all fields in the bound data source.

Namespace: DevExpress.XtraEditors.Repository

Assembly: DevExpress.XtraGrid.v20.1.dll

Declaration

public virtual void PopulateViewColumns()
Public Overridable Sub 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