Ganesh Gurav

Ganesh Gurav

  • NA
  • 87
  • 31.6k

How to set background color to ComboBox In WPF?

Apr 16 2016 1:17 AM
Hello!
Currently  I am using following style for setting background color to combo
Box.
--------------------------------------------------------------- 
<Style TargetType="ComboBox">
<Setter Property="Foreground" Value="White"/>
<Setter Property="Background" Value="#303030"/>
<Setter Property="BorderBrush" Value="#000000"/>
</Style>
--------------------------------------------------------------
but it only works for Foreground property. It doesn't works for background.
Any other ways to set background color to combobox??
Kindly waiting for your valuable reply.. 
 

Answers (3)