-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Closed
Labels
InvestigateRequires further investigation by the WPF team.Requires further investigation by the WPF team.Win 11 Theming
Description
Description
I'm trying out the new fluent ui theming in .NET 9 but hit an issue where the theme styles aren't inherited by pages. (update: Seems to only be for TextBlocks?)
Reproduction Steps
- Create new WPF project with .NET 9
- Set ThemeMode="Dark" in App.xaml
- Create a Page with just a TextBlock
- In MainWindow.xaml, add a Frame and navigate to the created Page
Expected behavior
Page's textblock is styled appropriately (light foreground color since background is dark)
Actual behavior
Text foreground is dark
Regression?
No response
Known Workarounds
No response
Impact
No response
Configuration
No response
Other information
No response
Metadata
Metadata
Assignees
Labels
InvestigateRequires further investigation by the WPF team.Requires further investigation by the WPF team.Win 11 Theming