Wpf Image 添加阴影效果
<Border>
<Border.Style>
<Style TargetType="Border">
<Setter Property="Background" Value="{x:Null}"/>
<Setter Property="BorderThickness" Value="0"/>
<Setter Property="Background" Value="White"/>
<Setter Property="Effect">
<Setter.Value>
<DropShadowEffect BlurRadius="20" Opacity="0.3" ShadowDepth="0" Color="#19334E"/>
</Setter.Value>
</Setter>
</Style>
</Border.Style>
<Image Width="1080" Height="720" Source="Imgs/01.png" />
</Border>
效果图如下: