Improve WPF DataGrid performance
In my .NET 3.5 WPF Application, I have a WPF DataGrid which will be populated with 500 columns and 50 rows. The performance of App is very very poor in scrolling, or when I do DataGrid.Items.Refresh() or in selecting rows. Actually App will take around 20 sec to Update Layout. Layout_Updated() event will trigger after 20 sec. If I reduce the columns to 50 or less, App will be very responsive. As per my findings performance is directly related to column count. How do I improve the DataGrid performance? Alan There are a few options you can turn on to help you on your DataGrid object