We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hello, I am trying to implement a dark theme into my application, but trying to switch themes causes some weird behavior (see clip).
Page.cs:
private async void OnLightThemeRadioButtonChecked(object sender, RoutedEventArgs e) { Wpf.Ui.Appearance.ApplicationThemeManager.Apply(Wpf.Ui.Appearance.ApplicationTheme.Light); } private async void OnDarkThemeRadioButtonChecked(object sender, RoutedEventArgs e) { Wpf.Ui.Appearance.ApplicationThemeManager.Apply(Wpf.Ui.Appearance.ApplicationTheme.Dark); }
MainWindow.cs:
public MainWindow() { Wpf.Ui.Appearance.SystemThemeWatcher.Watch(this); InitializeComponent(); }
Switch themes with Wpf.Ui.Appearance.ApplicationThemeManager.Apply()
I would expect the themes to simply switch like in the demo app.
Windows 11 23H2 (Build 22631.3958)
.Net 8.0
3.0.5
No response
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Describe the bug
Hello, I am trying to implement a dark theme into my application, but trying to switch themes causes some weird behavior (see clip).
Page.cs:
MainWindow.cs:
To Reproduce
Switch themes with Wpf.Ui.Appearance.ApplicationThemeManager.Apply()
Expected behavior
I would expect the themes to simply switch like in the demo app.
Screenshots
clip.mp4
OS version
Windows 11 23H2 (Build 22631.3958)
.NET version
.Net 8.0
WPF-UI NuGet version
3.0.5
Additional context
No response
The text was updated successfully, but these errors were encountered: