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