8 writes to Maximum
System.Windows.Forms.Tests (8)
System\Windows\Forms\ScrollPropertiesTests.cs (8)
238
Maximum
= value
247
properties.
Maximum
= value;
261
Maximum
= value
270
properties.
Maximum
= value;
286
Maximum
= 5
301
Maximum
= -1
321
Maximum
= value
368
Maximum
= 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
);
1274
maxPos = VerticalScroll.
Maximum
;
1367
maxPos = HorizontalScroll.
Maximum
;
System\Windows\Forms\Scrolling\ScrollProperties.cs (1)
223
throw 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)
23
Assert.Equal(100, properties.
Maximum
);
System\Windows\Forms\ScrollPropertiesTests.cs (19)
23
Assert.Equal(100, properties.
Maximum
);
240
Assert.Equal(value, properties.
Maximum
);
248
Assert.Equal(value, properties.
Maximum
);
263
Assert.Equal(value, properties.
Maximum
);
271
Assert.Equal(value, properties.
Maximum
);
288
Assert.Equal(5, properties.
Maximum
);
303
Assert.Equal(-1, properties.
Maximum
);
323
Assert.Equal(100, properties.
Maximum
);
346
Assert.Equal(100, properties.
Maximum
);
354
Assert.Equal(100, properties.
Maximum
);
371
Assert.Equal(12, properties.
Maximum
);
391
Assert.Equal(100, properties.
Maximum
);
407
Assert.Equal(100, properties.
Maximum
);
415
Assert.Equal(100, properties.
Maximum
);
447
Assert.Equal(100, properties.
Maximum
);
455
Assert.Equal(100, properties.
Maximum
);
476
Assert.Equal(100, properties.
Maximum
);
491
Assert.Equal(100, properties.
Maximum
);
499
Assert.Equal(100, properties.
Maximum
);
System\Windows\Forms\VScrollPropertiesTests.cs (1)
24
Assert.Equal(100, properties.
Maximum
);