Fixed Panel Height in a SplitContainer

前端 未结 5 1371
情深已故
情深已故 2021-02-20 14:07

I have a WinForm containing a bindingNavigator at the top and a splitContainer with two horisontal panels below it. The splitContainer fills the space not occupied by the bindin

5条回答
  •  故里飘歌
    2021-02-20 14:28

    If you want only show and disable the panel (no automatic resize, no resize by the user) add to the code by Sakkle this line:

    teamSplitContainer.IsSplitterFixed = true;
    

提交回复
热议问题