winforms\Managed\System\WinForms\SplitContainer.cs (24)
527return (Width >= Panel1MinSize + SplitterWidthInternal + Panel2MinSize);
530return (Height >= Panel1MinSize + SplitterWidthInternal + Panel2MinSize);
727if (value != Panel1MinSize && !initializing) {
804if (value < Panel1MinSize)
806value = Panel1MinSize;
822if (value < Panel1MinSize)
824value = Panel1MinSize;
1153splitterDistance = (splitterDistance < Panel1MinSize) ? splitterDistance + SplitterIncrement : Math.Max(splitterDistance, BORDERSIZE);
1276x = Math.Max(Math.Min(x, Width - Panel2MinSize), Panel1MinSize);
1280y = Math.Max(Math.Min(y, Height - Panel2MinSize), Panel1MinSize);
1471if (DesignMode && Width != DefaultSize.Width && value + Panel1MinSize + SplitterWidth > Width) {
1477if (DesignMode && Height != DefaultSize.Height && value + Panel1MinSize + SplitterWidth > Height) {
1495if (DesignMode && value + Panel1MinSize + Panel2MinSize > Width) {
1501if (DesignMode && value + Panel1MinSize + Panel2MinSize > Height) {
1678return Math.Max(Math.Min(size, Width - Panel2MinSize), Panel1MinSize);
1681return Math.Max(Math.Min(size, Height - Panel2MinSize), Panel1MinSize);
1776splitterDistance = Math.Max(Width - panelSize - SplitterWidthInternal, Panel1MinSize);
1782splitterDistance = Math.Max((int)(Math.Floor(this.Width / ratioWidth)), Panel1MinSize);
1825splitterDistance = Math.Max(Height - Panel2.Height - SplitterWidthInternal, Panel1MinSize);
1835splitterDistance = Math.Max((int)(Math.Floor(this.Height / ratioHeight )), Panel1MinSize);
2141if (height < Panel1MinSize + SplitterWidthInternal + Panel2MinSize)
2143height = Panel1MinSize + SplitterWidthInternal + Panel2MinSize;
2149if (width < Panel1MinSize + SplitterWidthInternal + Panel2MinSize)
2151width = Panel1MinSize + SplitterWidthInternal + Panel2MinSize;