Click here to Skip to main content
15,742,377 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:

I would like to know, is there any way to set the DataGrid columns in WPF by selecting Datagrid and adding columns from Property-Colums collection.
Can we bind without editing XAML to bind the columns.

To put it in other words, Is there any way similar to setting in windows form as mentioned below.
1.Select desired DatagridView.
2.Right click and press Edit column
3.Adding the required column and editing its properties.


This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900