Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

ColumnView.PopulateColumns Method

Name Parameters Description
PopulateColumns() none Creates columns for all fields in the bound data source.
PopulateColumns(DataColumnInfo[]) columns Creates columns for the specified DataColumnInfo objects.
PopulateColumns(DataTable) dataTable Creates columns for all the fields of the specified DataTable.
PopulateColumns(Object) list Creates columns for record fields in the specified data source (System.Data.DataTable, System.ComponentModel.ITypedList, System.Collections.IList, System.Collections.Generic.IList, DevExpress.XtraGrid.IXtraList, etc. ).
PopulateColumns(Type, PopulateColumnsParameters) elementType, populateColumnsParameters Generates columns for the custom code-first data source.