XAML property issues
My markup apparently does nothing for
BackgorundBackgorund, but it does for ForegroundForeground. How does that make sense? I need help setting a selected background to the same as the non-selected ones as well as using the same hover color as my button, which apparently doesn't work for the ComboBox(Item), but it does for ButtonButton.XAML
<UserControl.Resources>
<Style TargetType="{x:Type ComboBox}">
<Setter Property="Background" Value="{DynamicResource PanelBackground}" />
<Setter Property="Foreground" Value="{DynamicResource TextColor}" />
<Setter Property="BorderBrush" Value="{DynamicResource BorderBrush}" />
</Style>
<Style TargetType="{x:Type ComboBoxItem}">
<Setter Property="Background" Value="{DynamicResource PanelBackground}" />
<Setter Property="Foreground" Value="{DynamicResource TextColor}" />
<Setter Property="BorderBrush" Value="{DynamicResource BorderBrush}" />
<Setter Property="Padding" Value="4,2" />
<Style.Triggers>
<Trigger Property="IsMouseOver" Value="True">
<Setter Property="Background" Value="{DynamicResource HoverColor}" />
</Trigger>
<Trigger Property="IsSelected" Value="True">
<Setter Property="Background" Value="{DynamicResource PanelBackground}" />
<Setter Property="Foreground" Value="{DynamicResource TextColor}" />
</Trigger>
</Style.Triggers>
</Style><UserControl.Resources>
<Style TargetType="{x:Type ComboBox}">
<Setter Property="Background" Value="{DynamicResource PanelBackground}" />
<Setter Property="Foreground" Value="{DynamicResource TextColor}" />
<Setter Property="BorderBrush" Value="{DynamicResource BorderBrush}" />
</Style>
<Style TargetType="{x:Type ComboBoxItem}">
<Setter Property="Background" Value="{DynamicResource PanelBackground}" />
<Setter Property="Foreground" Value="{DynamicResource TextColor}" />
<Setter Property="BorderBrush" Value="{DynamicResource BorderBrush}" />
<Setter Property="Padding" Value="4,2" />
<Style.Triggers>
<Trigger Property="IsMouseOver" Value="True">
<Setter Property="Background" Value="{DynamicResource HoverColor}" />
</Trigger>
<Trigger Property="IsSelected" Value="True">
<Setter Property="Background" Value="{DynamicResource PanelBackground}" />
<Setter Property="Foreground" Value="{DynamicResource TextColor}" />
</Trigger>
</Style.Triggers>
</Style>