Reputation: 19
Let' s say I have a grid which size is: [650, 540] in each cell there is a UIElement like a rectangle or an ellipse
The grid is filled at the beggining and never modified in the entire life of the program
as you can see it's placed inside a scrollviewer
the problem is that as it is the program is absolutely not usable because of its slowness
should i consider changing from WPF to another library or there is a way to make it faster? can you suggest something?
thank you in advance
Upvotes: 0
Views: 207
Reputation: 16864
Use bitmaps instead of shapes. WPF is drawing all the shape whenever you scroll.
Upvotes: 1