0

I have a textBox on an image stacked one above the other. The image may vary and so the text may be hidden by the colour below. I am searching for an effect like the one in the pic

enter image description here

so that whatever the background light or dark the image stands always out.

enter image description here

I've tried dropshadow or blur effect but didn't work or didn't managed to make it work effectively.

Luca
  • 918
  • 2
  • 13
  • 30
  • 1
    Take a look at this post: http://stackoverflow.com/questions/93650/apply-stroke-to-a-textblock-in-wpf – Flat Eric Jan 31 '16 at 15:18

1 Answers1

1

You can change your Fontfamily, Fontsize , Stroke as your wish and the OutlinedTextBlock class is in Apply stroke to a textblock in WPF. Make sure you have implemented the namespace of OutlinedTextBlock

 <local:OutlinedTextBlock FontFamily="Verdana" FontSize="28pt" FontWeight="ExtraBold" TextWrapping="Wrap" StrokeThickness="1" Stroke="Black" Fill="White">
            Text
        </local:OutlinedTextBlock>
Community
  • 1
  • 1
J. Hasan
  • 492
  • 3
  • 14