Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. WPF
  4. Problem scrolling WPF Controls

Problem scrolling WPF Controls

Scheduled Pinned Locked Moved WPF
wpfcsharphardwareperformancehelp
2 Posts 2 Posters 5 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • D Offline
    D Offline
    devneeraj
    wrote on last edited by
    #1

    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?

    P 1 Reply Last reply
    0
    • D devneeraj

      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?

      P Offline
      P Offline
      Pete OHanlon
      wrote on last edited by
      #2

      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.

      My blog | My articles

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups