2 writes to _maximum
System.Windows.Forms (2)
System\Windows\Forms\Scrolling\ScrollBar.cs (2)
254_maximum = value; 276_maximum = value;
10 references to _maximum
System.Windows.Forms (10)
System\Windows\Forms\Scrolling\ScrollBar.cs (10)
216return Math.Min(_largeChange, _maximum - _minimum + 1); 239get => _maximum; 242if (_maximum != value) 274if (_maximum < value) 361if (value < _minimum || value > _maximum) 585return _minimum + (_maximum - LargeChange + 1) - position; 609nMax = _maximum, 679newValue = _maximum - LargeChange + 1; 687newValue = Math.Min(_value + SmallChange, _maximum - LargeChange + 1); 695newValue = Math.Min(_value + LargeChange, _maximum - LargeChange + 1);