Strange Choppy WPF Animation

后端 未结 3 1601
星月不相逢
星月不相逢 2021-01-07 04:29

I am making an app that scrolls information on the desktop. The window is transparent. I am starting out simple, trying to find the lowest CPU use for animating things and

3条回答
  •  一整个雨季
    2021-01-07 05:09

    If you are using the AllowsTransparency property you will have performance and compatibility problems.

    The technical explanation is here:

    http://blogs.msdn.com/dwayneneed/archive/2008/09/08/transparent-windows-in-wpf.aspx

    from my personal (and painful) experience some display drivers will crush your program and others will make Windows work erratically when you have a WPF transparent window on screen for a long time, I recommend you try to re-write your GUI to not use transparency.

提交回复
热议问题