C# – Make Panel Resizable For User


I have a [PANEL(1)] > [Dock=Fill], and another [PANEL(2)] inside set to the same height.

How do I make [PANEL(2)] resizable to the user, as they can resize only the width from both sides?

a busy cat

This is how the panel will look like when the user resize it to a (random area).

a busy cat

Best Solution

Put a SplitContainer at the root, inside that another, and you'll have 3 panels to actually put your resizable controls in, with draggable splitters in between.