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
{{ message }}
Repository navigation
Inconsistent Animations and Effects in Windows 11 Styles #8670
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.
Activity
aquinn39 commentedon Jan 15, 2024
I didn't realise we could enable Windows 11 styles in WPF yet. How do you do it? I can't seem to find any info on how to do it.
pchaurasia14 commentedon Jan 15, 2024
@aquinn39 - This is not yet released. We are working on this to get released in the next major release (.NET 9)