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
When using ApplicationAccentColorManager it seems it does not use the colour passed to it.
public MainWindow() { ApplicationAccentColorManager.Apply( Color.FromRgb(25, 97, 55), // Green ApplicationTheme.Light, false ); InitializeComponent(); }
<Window x:Class="WpfApp1.MainWindow" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:local="clr-namespace:WpfApp1" xmlns:ui="http://schemas.lepo.co/wpfui/2022/xaml" mc:Ignorable="d" Title="MainWindow" Height="450" Width="800"> <Window.Resources> <ResourceDictionary> <ResourceDictionary.MergedDictionaries> <ui:ThemesDictionary Theme="Light" /> <ui:ControlsDictionary /> </ResourceDictionary.MergedDictionaries> </ResourceDictionary> </Window.Resources> <StackPanel> <CheckBox Content="Hello"></CheckBox> <ui:Button Appearance="Primary" Content="Hello WPF!"></ui:Button> </StackPanel> </Window>
Checkbox when clicked is light blue, button even though set to primary is light blue, i would expect both to be green
I would expect both the checkbox and the button to have the green colour i passed to the manager
Windows 11
.Net 4.8.1, .Net Core 8
3.0.5, 3.0.4
No response
The text was updated successfully, but these errors were encountered:
I've also encountered this issue. You may try the workaround in #1188 (comment).
Sorry, something went wrong.
No branches or pull requests
Describe the bug
When using ApplicationAccentColorManager it seems it does not use the colour passed to it.
To Reproduce
Checkbox when clicked is light blue, button even though set to primary is light blue, i would expect both to be green
Expected behavior
I would expect both the checkbox and the button to have the green colour i passed to the manager
Screenshots
OS version
Windows 11
.NET version
.Net 4.8.1, .Net Core 8
WPF-UI NuGet version
3.0.5, 3.0.4
Additional context
No response
The text was updated successfully, but these errors were encountered: