一般的方式是重写窗体样式,在图片容器外套一层容器,对它应用DropShadowEffect: <Window x:Class="WpfWindowDropShadowEffect.MainWindow" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"...
UserControl x:Class="WpfApplication1.UserControl2" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:...