2 writes to _maximum
System.Windows.Forms (2)
System\Windows\Forms\Scrolling\ScrollBar.cs (2)
247_maximum = value; 269_maximum = value;
10 references to _maximum
System.Windows.Forms (10)
System\Windows\Forms\Scrolling\ScrollBar.cs (10)
209return Math.Min(_largeChange, _maximum - _minimum + 1); 232get => _maximum; 235if (_maximum != value) 267if (_maximum < value) 354if (value < _minimum || value > _maximum) 578return _minimum + (_maximum - LargeChange + 1) - position; 602nMax = _maximum, 672newValue = _maximum - LargeChange + 1; 680newValue = Math.Min(_value + SmallChange, _maximum - LargeChange + 1); 688newValue = Math.Min(_value + LargeChange, _maximum - LargeChange + 1);