<Popup>
<Border x:Name="main"
Margin="5"
CornerRadius="4">
<Border.Effect>
<DropShadowEffect BlurRadius="5"
ShadowDepth="0"
Color="#a9bbc8" />
</Border.Effect>
</Border>
</Popup>
Border的Margin与BlurRadius值一致才能形成阴影