I have Grids on my listbox items and I want to choose their background color according the light or dark theme.
For exemple, if I'm in light theme the backgroud color of my grid will be red and if I'm in dark, the color will be blue. How can I do that in Xaml ?
..................
<Grid Background="#3F0E0D0D"> //in this case is fix for both themes...
.................
</grid>
...............