Chat Now
Cart
My Downloads
Free Trial
Log In
General Information
WinForms Controls
.NET Core Support
Prerequisites
What's Installed
Build an Application
Controls and Libraries
Common Features
Get More Help
API Reference
DevExpress.DataAccess.UI
DevExpress.DataAccess.UI.Design
DevExpress.DataAccess.UI.EntityFramework
DevExpress.DataAccess.UI.Excel
DevExpress.DataAccess.UI.ObjectBinding
DevExpress.DataAccess.UI.Sql
DevExpress.DataAccess.UI.Wizard
DevExpress.DataAccess.UI.Wizard.Services
DevExpress.DataAccess.UI.Wizard.Views
DevExpress.DocumentView
DevExpress.DocumentView.Controls
DevExpress.LookAndFeel
DevExpress.LookAndFeel.Helpers
DevExpress.Skins
DevExpress.Snap
DevExpress.Snap.API.Native
DevExpress.Snap.Core
DevExpress.Snap.Core.API
DevExpress.Snap.Core.Fields
DevExpress.Snap.Core.Forms
DevExpress.Snap.Core.Options
DevExpress.Snap.Core.Services
DevExpress.Snap.Extensions
DevExpress.Snap.Extensions.Localization
DevExpress.Snap.Extensions.UI
DevExpress.Snap.Localization
DevExpress.Snap.Options
DevExpress.Snap.Services
DevExpress.Utils
DevExpress.Utils.Animation
DevExpress.Utils.Behaviors
DevExpress.Utils.Controls
DevExpress.Utils.DragDrop
DevExpress.Utils.Drawing
DevExpress.Utils.Filtering
DevExpress.Utils.Layout
DevExpress.Utils.Menu
DevExpress.Utils.MVVM
DevExpress.Utils.Taskbar
DevExpress.Utils.Taskbar.Core
DevExpress.Utils.UI.Localization
DevExpress.Utils.VisualEffects
DevExpress.Utils.Win
DevExpress.XtraBars
DevExpress.XtraBars.Alerter
DevExpress.XtraBars.Docking
DevExpress.XtraBars.Docking2010
DevExpress.XtraBars.Docking2010.Base
DevExpress.XtraBars.Docking2010.Customization
DevExpress.XtraBars.Docking2010.Views
DevExpress.XtraBars.Docking2010.Views.NativeMdi
DevExpress.XtraBars.Docking2010.Views.Tabbed
DevExpress.XtraBars.Docking2010.Views.Widget
DevExpress.XtraBars.Docking2010.Views.WindowsUI
DevExpress.XtraBars.FluentDesignSystem
DevExpress.XtraBars.Localization
DevExpress.XtraBars.Navigation
DevExpress.XtraBars.Ribbon
DevExpress.XtraBars.Ribbon.Gallery
DevExpress.XtraBars.Ribbon.ViewInfo
DevExpress.XtraBars.ToastNotifications
DevExpress.XtraBars.ToolbarForm
DevExpress.XtraBars.Utils
DevExpress.XtraBars.WinRTLiveTiles
DevExpress.XtraCharts
DevExpress.XtraCharts.Designer
DevExpress.XtraCharts.Wizard
DevExpress.XtraDataLayout
DevExpress.XtraDiagram
DevExpress.XtraDiagram.Docking
DevExpress.XtraDiagram.Options
DevExpress.XtraEditors
DevExpress.XtraEditors.ButtonPanel
DevExpress.XtraEditors.Calendar
DevExpress.XtraEditors.Camera
DevExpress.XtraEditors.Container
DevExpress.XtraEditors.Controls
DevExpress.XtraEditors.CustomEditor
DevExpress.XtraEditors.DXErrorProvider
DevExpress.XtraEditors.Filtering
DevExpress.XtraEditors.Mask
DevExpress.XtraEditors.Persistent
DevExpress.XtraEditors.Repository
DevExpress.XtraEditors.ViewInfo
DevExpress.XtraFilterEditor
DevExpress.XtraGantt
DevExpress.XtraGantt.Base.Scheduling
DevExpress.XtraGantt.Exceptions
DevExpress.XtraGantt.Localization
DevExpress.XtraGantt.Scheduling
DevExpress.XtraGauges.Presets.Styles
DevExpress.XtraGauges.Win
DevExpress.XtraGauges.Win.Base
DevExpress.XtraGauges.Win.Gauges.Circular
DevExpress.XtraGauges.Win.Gauges.Digital
DevExpress.XtraGauges.Win.Gauges.Linear
DevExpress.XtraGauges.Win.Gauges.State
DevExpress.XtraGrid
DevExpress.XtraGrid.Columns
DevExpress.XtraGrid.EditForm
DevExpress.XtraGrid.FilterEditor
DevExpress.XtraGrid.Localization
DevExpress.XtraGrid.Views.BandedGrid
DevExpress.XtraGrid.Views.BandedGrid.ViewInfo
DevExpress.XtraGrid.Views.Base
BaseView Class
BaseViewAppearanceCollection Class
CellValueChangedEventArgs Class
CellValueChangedEventHandler Delegate
ColumnEventArgs Class
ColumnEventHandler Delegate
ColumnView Class
ColumnView Members
ColumnView Constructor
ColumnView Properties
ColumnView Events
ColumnView Methods
AddNewRow Method
ApplyColumnsFilter Method
ApplyFindFilter Method
Assign Method
BeginDataUpdate Method
BeginSort Method
CalcColumnBestWidth Method
CancelUpdateCurrentRow Method
CanGroupColumn Method
CanResizeColumn Method
CanSortColumn Method
ClearColumnErrors Method
ClearColumnsFilter Method
ClearFindFilter Method
ClearSelection Method
ClearSorting Method
ConvertFormatConditionToFormatRules Method
DeleteRow Method
DeleteSelectedRows Method
EndSort Method
EnsureRowLoaded Method
FindRow Method
FocusInvalidRow Method
GetColumnError Method
GetColumnErrorType Method
GetDataRow Method
GetDataSourceRowIndex Method
GetDisplayTextByColumnValue Method
GetFilterDisplayText Method
GetFocusedDataRow Method
GetFocusedDataSourceRowIndex Method
GetFocusedDisplayText Method
GetFocusedRow Method
GetFocusedRowCellDisplayText Method
GetFocusedRowCellValue Method
GetFocusedValue Method
GetIncrementalText Method
GetListSourceRowCellValue Method
GetNearestCanFocusedColumn Method
GetNextVisibleRow Method
GetPrevVisibleRow Method
GetRow Method
GetRowCellDisplayText Method
GetRowCellValue Method
GetRowHandle Method
GetSelectedRows Method
GetShowEditorMode Method
GetVisibleColumn Method
GetVisibleIndex Method
GetVisibleRowHandle Method
HideEditor Method
HideFindPanel Method
InvertRowSelection Method
IsDataRow Method
IsNewItemRow Method
IsRowLoaded Method
IsRowSelected Method
IsValidRowHandle Method
LoadRow Method
LoadRowHierarchy Method
LocateByDisplayText Method
LocateByValue Method
MoveBy Method
MoveFirst Method
MoveLast Method
MoveLastVisible Method
MoveNext Method
MoveNextPage Method
MovePrev Method
MovePrevPage Method
NormalView Method
PopulateColumns Method
PopulateColumns() Method
PopulateColumns(DataTable) Method
PopulateColumns(Object) Method
PopulateColumns(DataColumnInfo[]) Method
PopulateColumns(Type, PopulateColumnsParameters) Method
RefreshData Method
RefreshEditor Method
RefreshRow Method
SelectAll Method
SelectRange Method
SelectRow Method
SetColumnError Method
SetFocusedRowCellValue Method
SetFocusedRowModified Method
SetFocusedValue Method
SetRowCellValue Method
ShowCustomFilterDialog Method
ShowFilterEditor Method
ShowFilterPopup Method
ShowFindPanel Method
ShowUnboundExpressionEditor Method
SynchronizeData Method
SynchronizeVisual Method
UnselectRow Method
UpdateCurrentRow Method
ValidateEditor Method
ViewRowHandleToDataSourceIndex Method
WaitForAsyncOperationEnd Method
ColumnViewAppearances Class
ColumnViewOptionsBehavior Class
ColumnViewOptionsFilter Class
ColumnViewOptionsFind Class
ColumnViewOptionsSelection Class
ColumnViewOptionsView Class
ColumnViewPrintAppearances Class
CustomColumnDataEventArgs Class
CustomColumnDataEventHandler Delegate
CustomColumnDisplayTextEventArgs Class
CustomColumnDisplayTextEventHandler Delegate
CustomColumnSortEventArgs Class
CustomColumnSortEventHandler Delegate
CustomDrawEventArgs Class
CustomDrawEventHandler Delegate
CustomDrawObjectEventArgs Class
CustomDrawObjectEventHandler Delegate
CustomRowCellEventArgs Class
DragObjectDropEventArgs Class
DragObjectDropEventHandler Delegate
DragObjectOverEventArgs Class
DragObjectOverEventHandler Delegate
DragObjectStartEventArgs Class
DragObjectStartEventHandler Delegate
FilterControlEventArgs Class
FilterControlEventHandler Delegate
FocusedColumnChangedEventArgs Class
FocusedColumnChangedEventHandler Delegate
FocusedRowChangedEventArgs Class
FocusedRowChangedEventHandler Delegate
GridAnimationType Enumeration
GridCell Class
GridRowCellState Enumeration
InvalidRowExceptionEventArgs Class
InvalidRowExceptionEventHandler Delegate
PrintInitializeEventArgs Class
PrintInitializeEventHandler Delegate
RowAllowEventArgs Class
RowAllowEventHandler Delegate
RowCellAlignmentEventArgs Class
RowCellAlignmentEventHandler Delegate
RowCellCustomDrawEventArgs Class
RowCellCustomDrawEventHandler Delegate
RowCellObjectCustomDrawEventArgs Class
RowEventArgs Class
RowEventHandler Delegate
RowFilterEventArgs Class
RowFilterEventHandler Delegate
RowObjectCustomDrawEventArgs Class
RowObjectCustomDrawEventHandler Delegate
RowObjectEventArgs Class
RowObjectEventHandler Delegate
RowPreviewCustomDrawEventArgs Class
ScrollVisibility Enumeration
ShowButtonModeEnum Enumeration
ShowFilterPanelMode Enumeration
ValidateRowEventArgs Class
ValidateRowEventHandler Delegate
ViewBaseOptions Class
ViewFilter Class
ViewPrintOptionsBase Class
DevExpress.XtraGrid.Views.Base.ViewInfo
DevExpress.XtraGrid.Views.Card
DevExpress.XtraGrid.Views.Card.ViewInfo
DevExpress.XtraGrid.Views.Grid
DevExpress.XtraGrid.Views.Grid.ViewInfo
DevExpress.XtraGrid.Views.Layout
DevExpress.XtraGrid.Views.Layout.Events
DevExpress.XtraGrid.Views.Layout.ViewInfo
DevExpress.XtraGrid.Views.Printing
DevExpress.XtraGrid.Views.Tile
DevExpress.XtraGrid.Views.WinExplorer
DevExpress.XtraGrid.WinExplorer
DevExpress.XtraLayout
DevExpress.XtraLayout.Converter
DevExpress.XtraLayout.Customization
DevExpress.XtraLayout.HitInfo
DevExpress.XtraLayout.Localization
DevExpress.XtraLayout.Utils
DevExpress.XtraMap
DevExpress.XtraMap.Printing
DevExpress.XtraNavBar
DevExpress.XtraNavBar.ViewInfo
DevExpress.XtraPdfViewer
DevExpress.XtraPdfViewer.Commands
DevExpress.XtraPdfViewer.Extensions
DevExpress.XtraPdfViewer.Localization
DevExpress.XtraPivotGrid
DevExpress.XtraPivotGrid.Data
DevExpress.XtraPrinting
DevExpress.XtraPrinting.Control
DevExpress.XtraPrinting.Preview
DevExpress.XtraPrintingLinks
DevExpress.XtraReports.UI
DevExpress.XtraRichEdit
DevExpress.XtraRichEdit.Commands
DevExpress.XtraRichEdit.Export
DevExpress.XtraRichEdit.Import
DevExpress.XtraRichEdit.Menu
DevExpress.XtraScheduler
DevExpress.XtraScheduler.Drawing
DevExpress.XtraScheduler.GoogleCalendar
DevExpress.XtraScheduler.Printing
DevExpress.XtraScheduler.Reporting
DevExpress.XtraScheduler.Reporting.UI
DevExpress.XtraScheduler.Services
DevExpress.XtraScheduler.Services.Implementation
DevExpress.XtraScheduler.UI
DevExpress.XtraSpellChecker
DevExpress.XtraSpellChecker.Localization
DevExpress.XtraSplashForm
DevExpress.XtraSplashScreen
DevExpress.XtraSpreadsheet
DevExpress.XtraSpreadsheet.Services
DevExpress.XtraTab
DevExpress.XtraTab.Buttons
DevExpress.XtraTab.ViewInfo
DevExpress.XtraTabbedMdi
DevExpress.XtraToolbox
DevExpress.XtraTreeList
DevExpress.XtraTreeList.Columns
DevExpress.XtraTreeList.Data
DevExpress.XtraTreeList.Localization
DevExpress.XtraTreeList.Menu
DevExpress.XtraTreeList.Nodes
DevExpress.XtraTreeList.Nodes.Operations
DevExpress.XtraTreeList.StyleFormatConditions
DevExpress.XtraTreeMap
DevExpress.XtraTreeMap.Printing
DevExpress.XtraVerticalGrid
DevExpress.XtraVerticalGrid.Events
DevExpress.XtraVerticalGrid.Localization
DevExpress.XtraVerticalGrid.Rows
DevExpress.XtraWaitForm
DevExpress.XtraWizard
ASP.NET Controls and MVC Extensions
ASP.NET Bootstrap Controls
ASP.NET Core Bootstrap Controls
WPF Controls
Xamarin Controls
Windows 10 App Controls
Office File API
Reporting
Report and Dashboard Server
Dashboard
eXpressApp Framework
eXpress Persistent Objects
CodeRush
CodeRush Classic
Cross-Platform Core Libraries
Tools and Utilities
End-User Documentation
WinForms Controls
>
DevExpress.XtraGrid.Views.Base
>
ColumnView
>
PopulateColumns
View this topic on
docs.devexpress.com
(
Learn more
)
ColumnView.PopulateColumns Method
Creates columns for all fields in the bound data source.
Overload list
Name
Description
void PopulateColumns()
Creates columns for all fields in the bound data source.
void PopulateColumns(DataTable dataTable)
Creates columns for all the fields of the specified System.Data.DataTable.
void 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. ).
void PopulateColumns(DataColumnInfo[] columns)
Creates columns for the specified
DataColumnInfo
objects.
void PopulateColumns(Type elementType, PopulateColumnsParameters populateColumnsParameters)
Generates columns for the custom code-first data source.
See Also
ColumnView Class
ColumnView Members
DevExpress.XtraGrid.Views.Base Namespace
Is this topic helpful?
Additional Feedback
Close
Please tell us how you’d like us to improve this topic.
Send