WPF ToolKit DataGrid性能 [英] WPF ToolKit DataGrid Performance
问题描述
- 绑定时间非常慢
- 当我滚动数据网格某些行的检查值有时会消失。
在绑定到大量数据时,是否有任何已知的问题与datagrid ?以及如何提高性能。我正在使用WPF工具包的6月版本
谢谢
P / S:您可以下载我的样品应用程式才能明确了解问题
http://www.mediafire.com/ file / jrmft4m4jwm / WpfApplication3.zip
您是否正在使用VirtualizingStackPanel?这将提高大屏幕上大量数据收集的性能。
I got a DataGrid with 6 column, each column is a RadioButton so that user can select 1 in 6 option. There are about 100 row. I make a custom class with 6 bool datamember, then bind the datagrid with a list of about 100 custom class object. There are 2 problem:
- The binding time is very slow
- When I scroll the data grid, sometime the check value of some row disappear.
Are there any known issues with datagrid when bind to a large amount of data like this? And how to improve the performance. I'm using the June Release of WPF Toolkit
Thanks
P/S: You can download my sample app to understand exactly the problem http://www.mediafire.com/file/jrmft4m4jwm/WpfApplication3.zip
Have you looked into using a VirtualizingStackPanel? This will improve performance for large collection of data for rendering on screen.
这篇关于WPF ToolKit DataGrid性能的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!