Click here to Skip to main content
15,886,362 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Hello,

I have been trying but I am unable to find out a way to manually resize a SplitContainer.Panel.

Please help.

Regards
Aman Chaurasia

What I have tried:

I have had to insert another panel in order to resize. But I don't want that.
Posted
Updated 31-May-18 20:10pm

1 solution

The whole idea of a SplitContainer is that is made of of three parts: two panels and a splitter down the middle. You can't resize those panels as they are defined as being the "right size" to fill the areas not occupied by the splitter bar itself. To resize them, you later the position of the splitter bar, or the height / width of the whole SplitContainer itself.
 
Share this answer
 
Comments
Primo Chalice 12-Jun-18 3:34am    
Hello, OriginalGriff, would you be okay with a direct contact? I have something to ask you.
OriginalGriff 12-Jun-18 3:42am    
If you mean "Can I have your email?" the answer is "not until I know what you want to discuss" :laugh:
You can send me a "private message" by locating any of my forum messages (here's one: https://www.codeproject.com/Messages/5527838/Re-Chrome-Unusable-now.aspx ) and using the "Email" link at the bottom. Do be aware that that will pass me your email address (or it used to, post GDPR I haven't tried it so I'm not sure if it still does) so I could reply directly if necessary.

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