Add an expander (collapse/expand) to a Panel WinForm

前端 未结 5 874
予麋鹿
予麋鹿 2020-12-05 09:50

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

5条回答
  •  温柔的废话
    2020-12-05 10:21

    The SplitContainer control has the ability to collapse one of its two panels. You could rig up a button to the Panel1Collapsed property.

提交回复
热议问题