背景色渐变
<Border>
<Border.Resources>
<Style TargetType="Border">
<Setter Property="Background">
<Setter.Value>
<LinearGradientBrush StartPoint="0,0" EndPoint="1,0">
<GradientStop Offset="0" Color="#D3D3D3"/>
<GradientStop Offset="1" Color="#717171"/>
</LinearGradientBrush>
</Setter.Value>
</Setter>
</Style>
</Border.Resources>
</Border>