Oppure
<StackPanel> <Border Height="100" Width="100" Background="Red" Panel.ZIndex="1"> <Border.BitmapEffect> <DropShadowBitmapEffect Color="Black" Direction="270" ShadowDepth="3" Opacity="1" Softness="2" /> </Border.BitmapEffect> </Border> <Border Height="100" Width="100" Background="blue" Panel.ZIndex="0"> </Border> </StackPanel>