winforms\Managed\System\WinForms\SplitContainer.cs (27)
527return (Width >= Panel1MinSize + SplitterWidthInternal + Panel2MinSize);
530return (Height >= Panel1MinSize + SplitterWidthInternal + Panel2MinSize);
766if (value != Panel2MinSize && !initializing) {
808if (value + SplitterWidthInternal > this.Width - Panel2MinSize)
810value = this.Width - Panel2MinSize - SplitterWidthInternal;
827if (value + SplitterWidthInternal > this.Height - Panel2MinSize)
829value = this.Height - Panel2MinSize - SplitterWidthInternal;
1159splitterDistance = (splitterDistance + SplitterWidth > Width - Panel2MinSize -BORDERSIZE) ? splitterDistance - SplitterIncrement : splitterDistance;
1162splitterDistance = (splitterDistance + SplitterWidth > Height - Panel2MinSize - BORDERSIZE) ? splitterDistance - SplitterIncrement : splitterDistance;
1276x = Math.Max(Math.Min(x, Width - Panel2MinSize), Panel1MinSize);
1280y = Math.Max(Math.Min(y, Height - Panel2MinSize), Panel1MinSize);
1447if (DesignMode && Width != DefaultSize.Width && value + Panel2MinSize + SplitterWidth > Width) {
1452if (DesignMode && Height != DefaultSize.Height && value + Panel2MinSize + 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);
1772panel2.Size = new Size(Math.Max(Width - panelSize - SplitterWidthInternal, Panel2MinSize), Height);
1786panel2.Size = new Size(Math.Max(Width - splitterDistance - SplitterWidthInternal, Panel2MinSize), Height);
1819panel2.Size = new Size(Width, Math.Max(Height - panel2Start, Panel2MinSize));
1840panel2.Size = new Size(Width,Math.Max(Height - panel2Start, Panel2MinSize));
2141if (height < Panel1MinSize + SplitterWidthInternal + Panel2MinSize)
2143height = Panel1MinSize + SplitterWidthInternal + Panel2MinSize;
2149if (width < Panel1MinSize + SplitterWidthInternal + Panel2MinSize)
2151width = Panel1MinSize + SplitterWidthInternal + Panel2MinSize;
2205 if (size + SplitterWidthInternal <= this.Width - Panel2MinSize - BORDERSIZE)
2212 if (size + SplitterWidthInternal <= this.Height - Panel2MinSize - BORDERSIZE)