views:

8

answers:

0

I am experiencing performance problems in a WPF application which contains a series of Infragistics grid views with the intent of a quick "scroll" effect without needing a scrollbar . I have taken the problem down as low as I can go by pre-building all the views in separate grids and then swapping the respective "active" view in and out of the content element of a single ContentPresenter. I would expect this to render almost immediately, but there is still a noticeable lag (~1second). Even though the grid has virtualization switched on, I still have around 3500 containers (as per snoop) which presumably have to be reinjected into the visual tree each time and then pushed out to the rendering pipeline. Am I expecting too much from WPF or is there a better way of doing this?