Is there a MergedGradientBrush in wpf?
Posted
by AKRamkumar
on Stack Overflow
See other posts from Stack Overflow
or by AKRamkumar
Published on 2010-05-27T21:39:11Z
Indexed on
2010/05/27
21:41 UTC
Read the original article
Hit count: 282
Suppose I had two brushes.
One that was a linear gradient brush that was from Dark to light
One was a radial brush that went from Dark to light.
How could I merge the brushes so that when I apply them, I can apply both at once.
EG Check this:
1) http://www.codeproject.com/KB/vista/WindowsVistaRenderer/VistaRenderer4.gif
2) http://www.codeproject.com/KB/vista/WindowsVistaRenderer/VistaRenderer5.gif
How could I (In WPF/XAML) merge both into one gradient and then refer to that? (This is Mr. Menendez's Images from Codeproject)
© Stack Overflow or respective owner