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
The effects designed in the windows 11 styles have fixed brush values for events such as hover or keyboard focus. This causes inconsistent results when properties such as Background, Foreground, BorderBrush etc are set in an application.
Reproduction Steps
An example to demonstrate this inconsistency involves following steps:
Create a WPF application that supports windows 11 styles
Create a text box and specify its background to red and foreground to yellow.
Hover over the text box or select the text box.
Expected behavior
The text box should have a background which is a lighter shade of red when hovered over or when typing in.
Actual behavior
The text box has a whitish/greyish color.
Regression?
No response
Known Workarounds
No response
Impact
No response
Configuration
.NET 9
Windows 11
x64
Other information
No response
The text was updated successfully, but these errors were encountered:
Description
The effects designed in the windows 11 styles have fixed brush values for events such as hover or keyboard focus. This causes inconsistent results when properties such as
Background
,Foreground
,BorderBrush
etc are set in an application.Reproduction Steps
An example to demonstrate this inconsistency involves following steps:
Expected behavior
The text box should have a background which is a lighter shade of red when hovered over or when typing in.
Actual behavior
The text box has a whitish/greyish color.
Regression?
No response
Known Workarounds
No response
Impact
No response
Configuration
.NET 9
Windows 11
x64
Other information
No response
The text was updated successfully, but these errors were encountered: