How to bind to DataGrid in WPF

拜拜、爱过 提交于 2020-02-05 04:31:05

问题


I tried to understand but failed. In WinForms I can build up some rows in a datagridview. By using Application.DoEvents (not nice but works) I can see how it is building up also when the list is very huge. I just want some similar in WPF.

Here is my project: http://www.goldengel.ch/temp/FileContent%20Replacer.zip

I already posted this question WPF DataGrid Row add in codebehind but never was answered in time I need it (one week). Please, can you send me the solution how it works in the project?

Would be great.

Nasenbaer


回答1:


I hope you can find Microsoft sample very useful!

http://msdn.microsoft.com/en-us/library/ms752347.aspx

And here is other one

http://www.i-programmer.info/programming/wpf-workings/620-using-the-wpf-net-40-datagrid-.html



来源:https://stackoverflow.com/questions/3283271/how-to-bind-to-datagrid-in-wpf

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!