Example of using LinearGradientBrush in Silverlight XAML

<Ellipse>
  <Ellipse.Fill>
    <LinearGradientBrush>
      <GradientStop Color="Blue"
                    Offset="0" />
      <GradientStop Color="Red"
                    Offset="1" />
    </LinearGradientBrush>
  </Ellipse.Fill>
</Ellipse>

Enjoyed this post? Share it!

 

Leave a comment

Your email address will not be published.