I'm trying to setup my programs default view like this.
However, when I start my program all my windows look like this.
I'm creating my four windows programmatically, and calling MoveToNewVerticalContainer(); and MoveToNewHorizontalContainer() to get the four views (I couldn't figure out a way to do this in XAML, which would be the most ideal way really).I've tried several different ways but I haven't been able to change the sizes in anyway.
Any pointers in the right direction would be great! I've tried searching the forums, but haven't been able to find anything helpful.
If there's a way of doing this in the XAML that'd work too!
However, when I start my program all my windows look like this.
I'm creating my four windows programmatically, and calling MoveToNewVerticalContainer(); and MoveToNewHorizontalContainer() to get the four views (I couldn't figure out a way to do this in XAML, which would be the most ideal way really).
DocumentWindow documentWindow1 = this.CreateViewportWindow("Upper-Left", g1);
documentWindow1.Activate();
DocumentWindow documentWindow2 = this.CreateViewportWindow("Upper-Right", g2);
documentWindow2.Activate();
documentWindow2.MoveToNewVerticalContainer();
DocumentWindow documentWindow3 = this.CreateViewportWindow("Lower-Left", g3);
documentWindow3.Activate();
documentWindow3.MoveToNewHorizontalContainer();
DocumentWindow documentWindow4 = this.CreateViewportWindow("Lower-Righto", g4);
documentWindow4.Activate();
documentWindow4.MoveToNewHorizontalContainer();
documentWindow4.MoveToNewVerticalContainer();
Any pointers in the right direction would be great! I've tried searching the forums, but haven't been able to find anything helpful.
If there's a way of doing this in the XAML that'd work too!