Search code examples
c#winformstextboxmultilinesplitcontainer

Multiline Textbox Resizing in C#


I have two multiline textboxes separated within a splitContainer. When I drag the splitter left or right I would like the textboxes to resize accordingly. How do I do this? I am using Microsoft Visual C# 2008 Express Edition. Thanks.


Solution

  • If you set the Dock property of textboxes to Dock.Fill, this should happen for you.