© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
C#C
C#•3y ago
Eliuniun

MVVM WPF - Change Color in ColorAnimation in Style ControlTemplate on Runtime

I have various styles with color animations, and I need to change the "To" color of a color animation within a control template while the program is running. I've attempted using both static and dynamic resources, but it either crashes during initialization or generates errors. I've searched online, but I can't find a solution to this problem.
C# banner
C#Join
We are a programming server aimed at coders discussing everything related to C# (CSharp) and .NET.
61,871Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

WPF Button controltemplate Icon Color
C#CC# / help
4y ago
✅ BackgroundWorker in WPF MVVM
C#CC# / help
3y ago
✅ WPF app style change
C#CC# / help
3y ago
Change language at runtime in WPF
C#CC# / help
2y ago