<Border.Background> <LinearGradientBrush StartPoint="0,0" EndPoint="0,1"> <GradientStop Color="White" Offset="0"/> <GradientStop Color="#E5E7EB" Offset="0.93"/> </LinearGradientBrush> </Border.Background>
起始位置StartPoint 和 结束位置EndPoint 可自行更改
转载于:https://www.cnblogs.com/linji/archive/2012/11/13/2768101.html