开发者

setting a minimum allowed size for the panels of SplitterContainer

开发者 https://www.devze.com 2023-01-08 16:40 出处:网络
Greeting, in C# WinForms: I have a splitt开发者_如何学PythonerContainer. and lets sat there is Docked to Fill TableLayout in SplitterContainer.Panel1

Greeting, in C# WinForms: I have a splitt开发者_如何学PythonerContainer. and lets sat there is Docked to Fill TableLayout in SplitterContainer.Panel1 now when I move the Splitter bar, it can cover the area of each of its panels. so it can even hide one of its panels when we move the splitter bar. But I do not want it! I want to have a limit for that. the minimum size I want to always be available for the panels of the SplitteRContainer is the size that is necessary for the contents that are already inside each panel of it. I do not want to be able to hide one panel and its contents by moving the splitter bar, so when it gets to that point I want it to stop moving and resizing the panels. Can you please help me on how to make this happen?


Set the Panel1MinSize property.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号