Click here to Skip to main content
15,901,284 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
i want to resize the panel of splitcontainer in C# can i do that?

1 solution

There's no need to create your own form: SplitContainer has a property:FixedPanel Select the SplitContainer and in the Layout section look at FixedPanel Set it to the panel you want to stay constant in width or height (depending on the panel layout).


sc.FixedPanel = FixedPanel.Panel1; //Or Panel2
Share this answer

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900