Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
65
WPF Grid speed
posted

While testing the WPF grid, I noticed that the size of the recordset being bound severely impacted the rate at which it populated, especially once it has been styled and themed.  I am not talking about thousands of records either.  The difference betweem 20 records and 500 records was exponential.  My solution?  Revert to an old VB4/5/6 trick and make the grid invisible, bind it, and then make it visible again.

I would think in this day and age, the bind method would turn off all the paint events until after it was done populating and I would not have to resort to such a hack.

Just saying.