Hello everyone.
I can't figure out how the ComboBox works: for some reason, it has a gray background, and I can't get rid of it.
For example, in NavigationView, I able to remove it by overriding NavigationViewContentBackground to Transparent.
But here it's a completely different situation: I've read tons of articles and looked through the code of many apps that use ComboBox, where it is rendered properly, but I still haven't found a solution.
What I am referring to:
In the Settings app (Windows 11), ComboBox has an opaque, non-gray background.
In the MVVM Toolkit Sample App (The Final Result, SubredditWidget), ComboBox has a transparent blurred, non-gray background.
Hello everyone.
I can't figure out how the ComboBox works: for some reason, it has a gray background, and I can't get rid of it.
For example, in
NavigationView
, I able to remove it by overridingNavigationViewContentBackground
toTransparent
.But here it's a completely different situation: I've read tons of articles and looked through the code of many apps that use
ComboBox
, where it is rendered properly, but I still haven't found a solution.What I am referring to:
ComboBox
has an opaque, non-gray background.ComboBox
has a transparent blurred, non-gray background.DropDownButton
But for me, everything looks completely different. I don't know how this happened. And why no solutions are working!
ComboBox
It differs from
DropDownButton
.ComboBox with overridden ComboBoxDropDownBackground
I referred to these Issues:
Versions: