How to change the foreground/background color of the find text box in a FlowDocument?

217 Views Asked by At

I am using a FlowDocumentReader to view some text, when I try typing in the find text searchbox the foreground is white and so is the background. How can I modify either the foreground or background? I tried modifying the Background and Foreground colors for both FlowDocument and FlowDocumentReader but that doesn't work.

<FlowDocumentReader  Grid.RowSpan="4" Grid.Column="1" Name="flowDocReader" IsFindEnabled="True">
  <FlowDocument Name="flowDoc"/>
</FlowDocumentReader>

Typing enter image description here

Dropwdown arrow

enter image description here

1

There are 1 best solutions below

1
On BEST ANSWER

Figured out that the issue was MahApps was set to Dark Theme, So my controls use white as the Foreground color. Simply changing the theme from dark to light did the trick.

<ResourceDictionary Source="pack://application:,,,/MahApps.Metro;component/Styles/Themes/Light.Blue.xaml" />