5 references to Maximum
System.Windows.Forms (5)
System\Windows\Forms\Scrolling\ScrollableControl.cs (4)
552_displayRect = new Rectangle(_displayRect.X, _displayRect.Y, HorizontalScroll.Maximum, _displayRect.Height); 557_displayRect = new Rectangle(_displayRect.X, _displayRect.Y, _displayRect.Width, VerticalScroll.Maximum); 1266maxPos = VerticalScroll.Maximum; 1359maxPos = HorizontalScroll.Maximum;
System\Windows\Forms\Scrolling\ScrollProperties.cs (1)
223throw new ArgumentOutOfRangeException(nameof(value), string.Format(SR.InvalidBoundArgument, nameof(Value), value, $"'{nameof(Minimum)}'", $"'{nameof(Maximum)}'"));