Is there a way to set shadow effect with 0 offset?
It's ugly when I set this effect on a border. I am trying to reproduce the box-shadow css property
Here a sample of code to have some context:
<Border
BorderThickness="1,0,0,1"
Grid.Column="1"
Grid.Row="0"
>
<Border.Effect>
<DropShadowEffect Direction="360" ShadowDepth="5" />
</Border.Effect>
...
</Border>
Try something like this:
You probably want to give your Border some margin too, else the shadow will expand further than you want