Smooth text animation (Marquee) using WPF
- by Goran
Trying to build a marquee control with smooth text animation. Current efforts include:
Using translate transform
Using animation on Canvas dependency properties (Left, Right)
Using animation on custom dependency property (Point) and using drawing visuals (formattedtext)
Using CompositionTarget.Rendering
But the animation is still choppy and resource intensive.
Checklist:
Confirmed no software rendering is taking place (ms performance tool and checking RenderCapability.Tier)
Calling freeze on any imaginable object
Running app on dual core machine with decent graphic card (NVidia 9600)
Disabled any bitmap effect and transparency
Checked all marquee controls out there (same issues)
Any ideas (or better yet code example)?