Problem scrolling WPF Controls
-
I have WPF application that performs scrolling of three xaml controls in circular manner. If I use simple control without much styles or instead use a simple image in the element, then scrolling goes fine and application performance is good. However, if I load the control with heavy WPF styles,then at very high resolution say (1400 * 900) systems, scrolling gets jerky and CPU usage increases.The problem exists with machines with low graphic card. I studied this and found that WPF can take advantage of hardware rendering pipeline but couldn't find any working example. Is there some way in WPF by which we can use heavy styled xaml controls with good performance on PCs with UMA graphic card?
-
I have WPF application that performs scrolling of three xaml controls in circular manner. If I use simple control without much styles or instead use a simple image in the element, then scrolling goes fine and application performance is good. However, if I load the control with heavy WPF styles,then at very high resolution say (1400 * 900) systems, scrolling gets jerky and CPU usage increases.The problem exists with machines with low graphic card. I studied this and found that WPF can take advantage of hardware rendering pipeline but couldn't find any working example. Is there some way in WPF by which we can use heavy styled xaml controls with good performance on PCs with UMA graphic card?
devneeraj wrote:
Is there some way in WPF by which we can use heavy styled xaml controls with good performance on PCs with UMA graphic card?
Nope. You hit the same limitations as you would trying to run a 3D game running on the card. The limitation is not with WPF. If you have a problem, then you could offer multiple styled versions (it's as easy as swapping in another set or ResourceDictionary's) so that people with lower powered cards could choose to use a lighter version.
Deja View - the feeling that you've seen this post before.