<Rectangle Width="100" Height="100" Canvas.Top="0" Canvas.Left="0" RadiusX="15" RadiusY="15"> <Rectangle.Fill><LinearGradientBrush StartPoint="0,0" EndPoint="0,1"> <GradientStop Offset="0" Color="Green"/> <GradientStop Offset="0.6" Color="Lime"/> </LinearGradientBrush> </Rectangle.Fill>