Aug 29, 2013 at 1:00 PM
Edited Aug 29, 2013 at 1:06 PM
I can't seem to figure out how to set well...anything besides plain text as the window background. Some beginner friendly explanation and sample or some pointers to other resources would help!
What can be assigned to BackgroundContent and how? For instance, given a user control defined in bg.xaml, can it be assigned to BackgroundContent or MainWindow and how? Does it work with a resource?
PS: I figured out how to set a user control as background content from code but is there a way to set it inside the xaml directly?
Here's how I did it from code:
public partial class MainWindow : ModernWindow
TestBGContent bg = new TestBGContent();
this.BackgroundContent = bg;