16 writes to _splitterDistance
System.Windows.Forms (16)
System\Windows\Forms\Layout\Containers\SplitContainer.cs (16)
668_splitterDistance = value; 689_splitterDistance = value; 954_splitterDistance -= SplitterIncrement; 955_splitterDistance = (_splitterDistance < Panel1MinSize) ? _splitterDistance + SplitterIncrement : Math.Max(_splitterDistance, _borderSize); 961_splitterDistance += SplitterIncrement; 964_splitterDistance = (_splitterDistance + SplitterWidth > Width - Panel2MinSize - _borderSize) ? _splitterDistance - SplitterIncrement : _splitterDistance; 968_splitterDistance = (_splitterDistance + SplitterWidth > Height - Panel2MinSize - _borderSize) ? _splitterDistance - SplitterIncrement : _splitterDistance; 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); 1769_splitterDistance = (int)Math.Round(_splitterDistance * scale); 2092_splitterDistance = GetSplitterDistance(x, y); 2117_splitterDistance = size - mod; 2124_splitterDistance = size - mod; 2151_splitterDistance = SplitterDistanceInternal = _initialSplitterDistance;
39 references to _splitterDistance
System.Windows.Forms (39)
System\Windows\Forms\Layout\Containers\SplitContainer.cs (39)
727return _splitterDistance; 955_splitterDistance = (_splitterDistance < Panel1MinSize) ? _splitterDistance + SplitterIncrement : Math.Max(_splitterDistance, _borderSize); 964_splitterDistance = (_splitterDistance + SplitterWidth > Width - Panel2MinSize - _borderSize) ? _splitterDistance - SplitterIncrement : _splitterDistance; 968_splitterDistance = (_splitterDistance + SplitterWidth > Height - Panel2MinSize - _borderSize) ? _splitterDistance - SplitterIncrement : _splitterDistance; 988Rectangle r = CalcSplitLine(_splitterDistance, 0); 1342SplitterDistanceInternal = _splitterDistance; 1438DrawSplitHelper(_splitterDistance); 1439_lastDrawSplit = _splitterDistance; 1443DrawSplitHelper(_splitterDistance); 1444_lastDrawSplit = _splitterDistance; 1571_splitterRect.X = ((RightToLeft == RightToLeft.Yes) ? Width - _splitterDistance - SplitterWidthInternal : Location.X + _splitterDistance); 1627Panel1.WidthInternal = _splitterDistance; 1638Panel1.WidthInternal = _splitterDistance; // Default splitter distance from left or top. 1640Panel2.Size = new Size(Math.Max(Width - _splitterDistance - SplitterWidthInternal, Panel2MinSize), Height); 1687Panel1.HeightInternal = _splitterDistance; 1689int panel2Start = _splitterDistance + SplitterWidthInternal; 1701Panel1.HeightInternal = _splitterDistance; // Default splitter distance from left or top. 1703int panel2Start = _splitterDistance + SplitterWidthInternal; 1769_splitterDistance = (int)Math.Round(_splitterDistance * scale); 1770_splitDistance = _splitterDistance; 2093_initialSplitterDistance = _splitterDistance; 2111if (_splitterDistance != size) 2148else if (_splitterDistance != _initialSplitterDistance) 2177Panel1.WidthInternal = _splitterDistance; // Default splitter distance from left or top. 2178Panel2.Size = new Size(Width - _splitterDistance - SplitterWidthInternal, Height); 2183Panel2.Location = new Point(_splitterDistance + SplitterWidthInternal, 0); 2187Panel1.Location = new Point(Width - _splitterDistance, 0); 2214_ratioWidth = (Width / (double)(_splitterDistance) > 0) ? Width / (double)(_splitterDistance) : _ratioWidth; 2227int panel2Start = _splitterDistance + SplitterWidthInternal; 2255_ratioHeight = (Height / (double)(_splitterDistance) > 0) ? Height / (double)(_splitterDistance) : _ratioHeight;