You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've create a button like this <Button Content="Open RGB Editor" Style="{StaticResource AccentButtonStyle}" Grid.Row="9" Click="OpenPopup_Click"/>
It works fine in dark or light mode but not in HighContrast mode. When in HC mode when pressing the button the text of the button is no longer visible.
Recording.2025-02-05.185603.mp4
Reproduction Steps
Create button with style Style="{StaticResource AccentButtonStyle} and some Content="Some text"
Switch to High contrast mode
Pressing the button the text will no longer be visible.
Expected behavior
Button text is still visible when pressing the button in HighContrast
Actual behavior
Button text is no longer visible when pressing the button in HighContrast
Regression?
No response
Known Workarounds
No response
Impact
No response
Configuration
.net 9.0.1
Windows 11 x64
Other information
No response
The text was updated successfully, but these errors were encountered:
For some additional context, we've hit this issue in this PowerToys PR, when trying to port one of the utilitites from WPF-UI to .NET 9 WPF. microsoft/PowerToys#37149
Description
I've create a button like this
<Button Content="Open RGB Editor" Style="{StaticResource AccentButtonStyle}" Grid.Row="9" Click="OpenPopup_Click"/>
It works fine in dark or light mode but not in HighContrast mode. When in HC mode when pressing the button the text of the button is no longer visible.
Recording.2025-02-05.185603.mp4
Reproduction Steps
Style="{StaticResource AccentButtonStyle}
and some Content="Some text"Expected behavior
Button text is still visible when pressing the button in HighContrast
Actual behavior
Button text is no longer visible when pressing the button in HighContrast
Regression?
No response
Known Workarounds
No response
Impact
No response
Configuration
.net 9.0.1
Windows 11 x64
Other information
No response
The text was updated successfully, but these errors were encountered: