Home > Back-end >  Visual Studio - WinForms - Add Panel On The Right
Visual Studio - WinForms - Add Panel On The Right

Time:10-06

I am trying to add another panel (with a splitter) to the right of the following image. It currently has a Panel on the left with a splitter and 2 panels in the middle with a splitter.

How can i add a panel to the right of these, the panel must go all the way to the top and bottom of the form and be resizable with a splitter? thanks

enter image description here

CodePudding user response:

  1. Change Dock to None of the main split container (I guess its name is splitContainer1).
  2. Add a new SplitContainer inside your form.
  3. Drag and drop entire splitContainer1 inside the left panel of the new split container.
  4. Change Dock of splitContainer1 back to Fill.
  5. Change Dock of splitContainer3 (the new one) to Fill.

Starting from a blank form

enter image description here

  • Related