2 writes to _maximum
System.Windows.Forms (2)
System\Windows\Forms\Scrolling\ScrollBar.cs (2)
249_maximum = value; 271_maximum = value;
10 references to _maximum
System.Windows.Forms (10)
System\Windows\Forms\Scrolling\ScrollBar.cs (10)
211return Math.Min(_largeChange, _maximum - _minimum + 1); 234get => _maximum; 237if (_maximum != value) 269if (_maximum < value) 356if (value < _minimum || value > _maximum) 580return _minimum + (_maximum - LargeChange + 1) - position; 604nMax = _maximum, 674newValue = _maximum - LargeChange + 1; 682newValue = Math.Min(_value + SmallChange, _maximum - LargeChange + 1); 690newValue = Math.Min(_value + LargeChange, _maximum - LargeChange + 1);