I have a Label and want to add Shadow to it.
It seems like I can't apply the DropShadowBitmapEffect to it.
What else can I do?
You can do this for Example:
<Label Content="LabelText:" >
<Label.BitmapEffect>
<DropShadowBitmapEffect Color="Black" Direction="320" ShadowDepth="10" Opacity=".5" Softness="9" />
</Label.BitmapEffect>
</Label>
The bitmap effects are obsolete since .NET 3.5 (SP1?). Use DropShadowEffect instead.
EDIT: Since the effects are obsolete for a while, in .NET 4.0 they are an empty code block, i.e. do nothing.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With