Silverlight GradientStops in Code behind C#

GradientStop gradientStop1 = new GradientStop() ; 
gradientStop1.Offset = 0; 
gradientStop1.Color = Colors. Yellow; 
IList list = brush. GradientStops; 
list. Add(gradientStop1) ;

Enjoyed this post? Share it!

 

Leave a comment

Your email address will not be published.