I want to hide panel2 on a split container and have panel1 utilize the space. I was hoping setting Panel2Collapsed would do the trick, but no luck. Ideas?
This worked for me on a similar situation:
splitContainer1.Panel2Collapsed = true; splitContainer1.Panel2.Hide();
I wanted the second panel to not be visible at all in some cases, so I implemented it this way.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With