Reputation: 10330
In .NET Framework, there is only SplitContainer which contains 2 panels. I need a container which can contain multiple splitters and panels.
See my picture:
Please help me. Thanks.
Upvotes: 2
Views: 5175
Reputation: 25601
Use the Splitter control instead of the SplitContainer control. You can stack as many Splitters as you like without extra complications of nesting SplitContainer controls many levels deep.
Upvotes: 3
Reputation: 117260
If you are 'lazy' (or find this acceptable), you can simply place 1 & 2 in a splitter, then 3 & 4 in another, then place those 2 splitters in another splitter.
Upvotes: 0
Reputation: 4506
Why not nest the SplitContainers?
In the left panel of the main splitcontainer, you can add a split panel, and in the right panel you do the same. Then you have four columns (and auto sizing still works)
Upvotes: 5