Posted 10 years ago by Brian Stewart
I have a hierarchy that looks like this:
I started off using tabbed MDI for my workspace, but decided that since the tabs on my ribbon correspond to the tabs on the workspace, I would just switch the contents of the workspace out whenever the ribbon tab changes, and save the screen real-estate that the Workspace tabs occupied. However, when I attempted to set this up, everything looks fine except that my UserControl is too large, and seemingly makes no attempt to resize to it's parent. I tried setting Horizontal and Vertical Alignment to Stretch, on both the workspace and the user control, but to no avail. Any clues?
-Ribbon -DockSite - SplitContainer - Workspace - My User Control - ToolWindowContainer - ToolWindow