8 writes to Maximum
System.Windows.Forms.Tests (8)
System\Windows\Forms\ScrollPropertiesTests.cs (8)
238Maximum = value 247properties.Maximum = value; 261Maximum = value 270properties.Maximum = value; 286Maximum = 5 301Maximum = -1 321Maximum = value 368Maximum = 8,
26 references to Maximum
System.Windows.Forms (5)
System\Windows\Forms\Scrolling\ScrollableControl.cs (4)
560_displayRect = new Rectangle(_displayRect.X, _displayRect.Y, HorizontalScroll.Maximum, _displayRect.Height); 565_displayRect = new Rectangle(_displayRect.X, _displayRect.Y, _displayRect.Width, VerticalScroll.Maximum); 1274maxPos = VerticalScroll.Maximum; 1367maxPos = 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)}'"));
System.Windows.Forms.Tests (21)
System\Windows\Forms\HScrollPropertiesTests.cs (1)
23Assert.Equal(100, properties.Maximum);
System\Windows\Forms\ScrollPropertiesTests.cs (19)
23Assert.Equal(100, properties.Maximum); 240Assert.Equal(value, properties.Maximum); 248Assert.Equal(value, properties.Maximum); 263Assert.Equal(value, properties.Maximum); 271Assert.Equal(value, properties.Maximum); 288Assert.Equal(5, properties.Maximum); 303Assert.Equal(-1, properties.Maximum); 323Assert.Equal(100, properties.Maximum); 346Assert.Equal(100, properties.Maximum); 354Assert.Equal(100, properties.Maximum); 371Assert.Equal(12, properties.Maximum); 391Assert.Equal(100, properties.Maximum); 407Assert.Equal(100, properties.Maximum); 415Assert.Equal(100, properties.Maximum); 447Assert.Equal(100, properties.Maximum); 455Assert.Equal(100, properties.Maximum); 476Assert.Equal(100, properties.Maximum); 491Assert.Equal(100, properties.Maximum); 499Assert.Equal(100, properties.Maximum);
System\Windows\Forms\VScrollPropertiesTests.cs (1)
24Assert.Equal(100, properties.Maximum);