Exemplo n.º 1
0
 /// <summary>Creates BrushCollection from a list of LinearGradientBrush </summary>
 public static BrushCollection FromBrushes(this BrushCollection brushCollection, List <LinearGradientBrush> brushes)
 {
     return(brushCollection.AddRange(brushes));
 }
Exemplo n.º 2
0
 /// <summary>Creates BrushCollection from a list of Brushes </summary>
 public static BrushCollection FromColors(this BrushCollection brushCollection, List <NamedColor> colors)
 {
     return(brushCollection.AddRange(colors));
 }
Exemplo n.º 3
0
 /// <summary>Creates BrushCollection from a list of SolidColorBrush </summary>
 public static BrushCollection FromBrushes(this BrushCollection brushCollection, List <SolidColorBrush> brushes)
 {
     return(brushCollection.AddRange(brushes));
 }