No background and invisible controls when theme is set to dark #492
Answered
by
pomianowski
dawemeister
asked this question in
Q&A
-
I tried to create a basic project using the getting started tutorial. I also tried other controls, but nothing rendered at all. OS: Windows 11 |
Beta Was this translation helpful? Give feedback.
Answered by
pomianowski
Jan 6, 2023
Replies: 1 comment 2 replies
-
You have not changed the For example, you can do it this way: <Window
...
xmlns:ui="http://schemas.lepo.co/wpfui/2022/xaml"
Background="{ui:ThemeResource ApplicationBackgroundBrush}">
</Window> |
Beta Was this translation helpful? Give feedback.
2 replies
Answer selected by
dawemeister
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You have not changed the
MainWindow
background but you have selected the Dark theme inApp.xaml
.Most likely, you have a white background and a white icon, thus nothing is visible.
For example, you can do it this way: