Y a-t-il un moyen de faire apparaître l'ombre du premier contrôle dans un StackPanel au-dessus du second contrôle? J'ai des problèmes avec ça, regardez l'image!
alt text http://img2.imageshack.us/img2/7073/issuef.png
Exemple de code:
Ombre WPF sur les contrôles de la pile
<Page xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:sys="clr-namespace:System;assembly=mscorlib">
<Grid>
<StackPanel>
<Border Height="100" Width="100" Background="Red">
<Border.BitmapEffect>
<DropShadowBitmapEffect Color="Black" Direction="270" ShadowDepth="3" Opacity="1" Softness="2" />
</Border.BitmapEffect>
</Border>
<Border Height="100" Width="100" Background="blue">
</Border>
</StackPanel>
</Grid>
</Page>