System\Windows\Forms\Layout\Containers\SplitContainer.cs (26)
393return (Width >= Panel1MinSize + SplitterWidthInternal + Panel2MinSize);
397return (Height >= Panel1MinSize + SplitterWidthInternal + Panel2MinSize);
586if (value != Panel1MinSize && !_initializing)
652if (value < Panel1MinSize)
654value = Panel1MinSize;
673if (value < Panel1MinSize)
675value = Panel1MinSize;
955_splitterDistance = (_splitterDistance < Panel1MinSize) ? _splitterDistance + SplitterIncrement : Math.Max(_splitterDistance, _borderSize);
1092x = Math.Max(Math.Min(x, Width - Panel2MinSize), Panel1MinSize);
1097y = Math.Max(Math.Min(y, Height - Panel2MinSize), Panel1MinSize);
1261throw new ArgumentOutOfRangeException(nameof(value), value, string.Format(SR.InvalidArgument, nameof(Panel1MinSize), value));
1268throw new ArgumentOutOfRangeException(nameof(value), value, string.Format(SR.InvalidArgument, nameof(Panel1MinSize), value));
1288if (DesignMode && Width != DefaultSize.Width && value + Panel1MinSize + SplitterWidth > Width)
1295if (DesignMode && Height != DefaultSize.Height && value + Panel1MinSize + SplitterWidth > Height)
1317if (DesignMode && value + Panel1MinSize + Panel2MinSize > Width)
1324if (DesignMode && value + Panel1MinSize + Panel2MinSize > Height)
1523return Math.Max(Math.Min(size, Width - Panel2MinSize), Panel1MinSize);
1527return Math.Max(Math.Min(size, Height - Panel2MinSize), Panel1MinSize);
1626_splitterDistance = Math.Max(Width - _panelSize - SplitterWidthInternal, Panel1MinSize);
1635_splitterDistance = Math.Max((int)(Math.Floor(Width / _ratioWidth)), Panel1MinSize);
1686_splitterDistance = Math.Max(Height - Panel2.Height - SplitterWidthInternal, Panel1MinSize);
1698_splitterDistance = Math.Max((int)(Math.Floor(Height / _ratioHeight)), Panel1MinSize);
2066if (height < Panel1MinSize + SplitterWidthInternal + Panel2MinSize)
2068height = Panel1MinSize + SplitterWidthInternal + Panel2MinSize;
2075if (width < Panel1MinSize + SplitterWidthInternal + Panel2MinSize)
2077width = Panel1MinSize + SplitterWidthInternal + Panel2MinSize;