示例#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));
 }
示例#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));
 }
示例#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));
 }