Skip to content

DevExpress-Examples/wpf-data-grid-generate-columns-for-all-fields-in-data-source

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

WPF Data Grid - Generate Columns for All Fields in a Data Source

This example uses the DataControlBase.AutoGenerateColumns property to populate the grid with columns from its data source.

The image below demonstrates the difference between generation modes (AddNew, KeepOld, and RemoveOld). Manually defined columns are highlighted in light yellow; automatically generated columns do not have a background color.

image

Files to Review

Documentation

More Examples