开发者

Differences between .NET 4 WPF Datagrid and WPF Toolkit Datagrid

开发者 https://www.devze.com 2023-02-01 05:58 出处:网络
Can anyone tell me what are the differences between the WPF Datagrid included in the .NET Framework 4.0 versus the Datagrid included in the out-of-band WPF Toolkit?I understand that the toolkit versio

Can anyone tell me what are the differences between the WPF Datagrid included in the .NET Framework 4.0 versus the Datagrid included in the out-of-band WPF Toolkit? I understand that the toolkit version was released first, and targets the .NET Framework 3.5 SP1.

I needed a WPF datagrid quick and have utilized the toolkit version in my applications. I'm considering moving the application to .NET 4.0 and am wondering what the 开发者_运维技巧pros/cons will be in changing out my existing datagrids for the new ones.


i cant remember the specifics but the 4.0 datagrid was definitely much easier to work with and you don't have to include the toolkit dll file which was pretty large. Its been a while since i switched over and i dont really see why you should use the old one as long as you have the 4.0 framework available for you and for the client computers.


New input to this old post. I encountered issues when I wrote an app targeting .NET 4 Client Profile and heavily used WPF DataGrid (generated dynamically in run time). It runs OK on .NET 4 until the program crashed and sometimes could not even start on XP and a few Window 7 (especially of languages other than English). I checked Fusion log and eventvwr and .NET compatibility seems to be the cause.

I reluctantly back ported my app from .NET 4 to .NET 3.5. But .NET 3.5 does not ship with DataGrid, so I have to implement WPF Toolkit. The DataGrid in WPF Toolkit is slightly slower I found, but it is more portable.

0

精彩评论

暂无评论...
验证码 换一张
取 消