Exemplo n.º 1
0
        /// <summary>Converts brushes in BrushCollection to LinearGradientBrush </summary>
        public static LinearGradientBrush ToGradientBrush(this BrushCollection brushCollection)
        {
            var brushes = brushCollection.ToList();

            return(brushes.ToGradientBrush());
        }
Exemplo n.º 2
0
        /// <summary>Blends brushes in BrushCollection to SolidColorBrush </summary>
        public static SolidColorBrush Blend(this BrushCollection brushCollection)
        {
            var brushes = brushCollection.ToList();

            return(brushes.Blend());
        }