MaterialDesign 控件
为按钮添加阴影
<Button Width="250" materialDesign:ElevationAssist.Elevation="Dp5" Style="{StaticResource MaterialDesignRaisedButton}" ToolTip="MaterialDesignRaisedButton with Round Corners">
画一条直线
<Border Margin="30 0 30 0" BorderBrush="DarkGray" BorderThickness="0 0 0 1"/>
设置右边框阴影
<Border Background="#FFFFFF"> <Border.Effect> <DropShadowEffect Color="#828282" BlurRadius="30" Opacity="0.1" ShadowDepth="20" Direction="0" > </DropShadowEffect> </Border.Effect> </Border>