When changing the application theme using RequestedTheme, the colors of the toolbar buttons in the TitleBar do not change properly. #9722
Labels
area-TitleBar
Issues related to custom window title bars.
bug
Something isn't working
feature proposal
New feature proposal
team-CompInput
Issue for IXP (Composition, Input) team
Describe the bug
When I change the application theme to another in code, the buttons in the toolbar (Close, Collapse, Maximize) remain with the style of the previous theme.
Steps to reproduce the bug
((FrameworkElement)Content.XamlRoot.Content).RequestedTheme = ElementTheme.Light;
Expected behavior
Toolbar button colors should change appropriately to match the theme of the entire program
Screenshots
NuGet package version
WinUI 3 - Windows App SDK 1.5.4: 1.5.240607001
Windows version
Windows 11 (22H2): Build 22621
Additional context
All other colors change perfectly
The text was updated successfully, but these errors were encountered: