I have a panel containing a DataGridView and 3 buttons at the bottom of a form. I want to add the possibility to expand and collapse this panel. Is there a way to do it in a Windows Forms application?
Has someone done something similar?
The SplitContainer
control has the ability to collapse one of its two panels. You could rig up a button to the Panel1Collapsed
property.
Take a look at my WinForm expander control - https://github.com/alexander-makarov/ExpandCollapsePanel
In general, it must meet all the basic requirements for this kind of control.
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