답변됨 Performance of DataGrid

  • Monday, March 28, 2011 5:41 PM
     
     
    Hi, I have difficulties with DataGrid in my application. The row highlighting under mouse cursor and scrolling is quite slow and it contains only 30 rows and 23 columns. DataGrid is inside TabControl and even when I switch to tab with DataGrid, that switching is slow too. I tried the profiler but it crashes just after I attach to explorer proces, so I can't say any result from profiling. -This is other problem... So any hints what is the problem with DataGrid? Thanks

All Replies

  • Tuesday, March 29, 2011 2:40 PM
     
     Answered
    Hey! I got it! After watching some videos I realized, that I use Windows 7 Theme in my project and there can be any DropShadow effect used. And really there are, especialy in main navigation frame - NavContentFrameStyle. So removing it solves my troubles. Cheers
  • Tuesday, March 29, 2011 2:50 PM
     
     
  • Tuesday, March 29, 2011 3:03 PM
     
     
    I know, but it is not important for me - not so visible, most important is performance. So it seems like bug in MS theme, they are using it in the main frame.