Open
Description
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:
- 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
Metadata
Metadata
Assignees
Type
Projects
Status
No status