C
C#4d ago
JackDjTom

How to change AccentColor in WPF .NET 9 with Fluent Theme

Hi, i have a .NET9 WPF app and i'm using the Fluent Theme (https://learn.microsoft.com/en-us/dotnet/desktop/wpf/whats-new/net90?view=netdesktop-9.0#apply-the-theme) Since you can alter the theme (dark/light) easily for the app, I was wondering if there is also an easy way to change the AccentColor for only this one app? Does anybody know?
What's new in WPF for .NET 9 - WPF .NET
Learn about what's new in Windows Presentation Foundation (WPF) for .NET 9. New versions of WPF are released yearly with .NET.
1 Reply
JackDjTom
JackDjTomOP4d ago
Is there a way to set the AccentColor and the AccentColorLight1, AccentColorLight2, etc. are changed respectively on their own? And if not, how are AccentColorLight1, AccentColorLight2, etc. usually computed out of the AccentColor?

Did you find this page helpful?