Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is there any way to do a Drop Shadow effect in XAML on a TextBlock?

Tags:

People also ask

Which of the following is used to add shadow effect to the text?

The correct option is the Text effect.


I have a XAML TextBlock that I would like to render as a drop shadow. That is a white layer of text on top of a black layer. I'm doing this to make the text stand. Currently I have two TextBlocks offset to the right and below by two pixels. The top layer is white and the bottom layer is black.

Is there a simple way to do this in XAML? If so can you please provide an example?


Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!