I'm learning on how to implemented themes in an application by use of Wpf.Theme NuGet package. Whenever switching between Themes I can see changes being applied to some of the controls but it does not affect other controls.
I used examples from this question to implement changes in runtime. What do I need to do to make changes to Background color of other elements like Grid and nested children?
<Grid>
<DockPanel>
<StackPanel DockPanel.Dock="Top" Margin="3">
<ComboBox x:Name="cmbThemes" Margin="4" Width="150" SelectedIndex="0">
<ComboBoxItem Content="None" />
<ComboBoxItem Content="BureauBlack" Tag="/Themes/BureauBlack.xaml"/>
<ComboBoxItem Content="BureauBlue" Tag="/Themes/BureauBlue.xaml"/>
<ComboBoxItem Content="ExpressionDark" Tag="/Themes/ExpressionDark.xaml"/>
<ComboBoxItem Content="ExpressionLight" Tag="/Themes/ExpressionLight.xaml"/>
<ComboBoxItem Content="ShinyBlue" Tag="/Themes/ShinyBlue.xaml"/>
<ComboBoxItem Content="ShinyRed" Tag="/Themes/ShinyRed.xaml"/>
<ComboBoxItem Content="WhistlerBlue" Tag="/Themes/WhistlerBlue.xaml"/>
</ComboBox>
</StackPanel>
<StackPanel>
<TextBox AcceptsReturn="True" Name="txtEditor" >Text</TextBox>
<Button >Button 1</Button>
<RadioButton >Radion </RadioButton>
<TextBlock></TextBlock>
<CheckBox></CheckBox>
<Label></Label>
</StackPanel>
</DockPanel>
</Grid>