an app uses a background which is composed from a background color, a linar gradient and two radial gradient (looks better that it sounds :). Since this background is used on all pages I would like to define it once and than re-use it on all pages.
My first solution was to create a UserControl and apply the color and the gradient on it. I can then use this control on all pages as background.
This works fine but I wonder if there is a more elegant solution. Is it somehow possible to combine multiple brushes to one? I could then simply Apple "MyCombinedBrush" to the page directly instead of using an extra UserControl.
I found information that one could create an image and use it to create an ImageBrush. Unfortunately everything I found is limited to WPF and does not work on Windows Phone.
Is there any "elegant" way to solve this or is the UserControl the way to go?