30 writes to Minimum
System.Windows.Forms (4)
System\Windows\Forms\Controls\DataGridView\DataGridView.Methods.cs (4)
10317_horizScrollBar.Minimum = 0; 10337_horizScrollBar.Minimum = 0; 10359_vertScrollBar.Minimum = 0; 10381_vertScrollBar.Minimum = 0;
System.Windows.Forms.Tests (24)
System\Windows\Forms\AccessibleObjects\HScrollBar.HScrollBarAccessibleObjectTests.cs (1)
277Minimum = minimum,
System\Windows\Forms\AccessibleObjects\HScrollBar.ScrollBarFirstLineButtonAccessibleObjectTests.cs (1)
339Minimum = minimum,
System\Windows\Forms\AccessibleObjects\HScrollBar.ScrollBarFirstPageButtonAccessibleObjectTests.cs (1)
377Minimum = minimum,
System\Windows\Forms\AccessibleObjects\HScrollBar.ScrollBarLastLineButtonAccessibleObjectTests.cs (1)
349Minimum = minimum,
System\Windows\Forms\AccessibleObjects\HScrollBar.ScrollBarLastPageButtonAccessibleObjectTests.cs (1)
364Minimum = minimum,
System\Windows\Forms\AccessibleObjects\HScrollBar.ScrollBarThumbAccessibleObjectTests.cs (1)
269Minimum = minimum,
System\Windows\Forms\AccessibleObjects\VScrollBar.ScrollBarFirstLineButtonAccessibleObjectTests.cs (1)
323Minimum = minimum,
System\Windows\Forms\AccessibleObjects\VScrollBar.ScrollBarFirstPageButtonAccessibleObjectTests.cs (1)
361Minimum = minimum,
System\Windows\Forms\AccessibleObjects\VScrollBar.ScrollBarLastLineButtonAccessibleObjectTests.cs (1)
333Minimum = minimum,
System\Windows\Forms\AccessibleObjects\VScrollBar.ScrollBarLastPageButtonAccessibleObjectTests.cs (1)
348Minimum = minimum,
System\Windows\Forms\AccessibleObjects\VScrollBar.ScrollBarThumbAccessibleObjectTests.cs (1)
269Minimum = minimum,
System\Windows\Forms\AccessibleObjects\VScrollBar.VScrollBarAccessibleObjectTests.cs (1)
265Minimum = minimum,
System\Windows\Forms\ScrollBarTests.cs (12)
602Minimum = 5, 708Minimum = 5, 984Minimum = 8, 1019Minimum = value 1029control.Minimum = value; 1056control.Minimum = value; 1078control.Minimum = value; 1119control.Minimum = value; 1141control.Minimum = value; 1170Minimum = 12 3110vScrollBar.Minimum = minimum; 3129hScrollBar.Minimum = minimum;
WinFormsControlsTest (2)
ScrollBars.cs (2)
25hScrollBar.Minimum = decimal.ToInt32(numericMinimum.Value); 26vScrollBar.Minimum = decimal.ToInt32(numericMinimum.Value);
51 references to Minimum
System.Windows.Forms (26)
System\Windows\Forms\Controls\DataGridView\DataGridView.Methods.cs (4)
16552while (_vertScrollBar.Value != _vertScrollBar.Minimum && absScrollBands > 0) 16558if (_vertScrollBar.Value == _vertScrollBar.Minimum) 16600extremeScrollBarValue = _horizScrollBar.Minimum; 28433if (_vertScrollBar.Value != _vertScrollBar.Minimum)
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\PropertyGridView.cs (2)
3213if (_scrollBar!.Value <= _scrollBar.Minimum) 4234if (newOffset >= ScrollBar.Minimum && newOffset < ScrollBar.Maximum)
System\Windows\Forms\Printing\PrintPreviewControl.cs (2)
764_hScrollBar.Value = Math.Clamp(value.X, _hScrollBar.Minimum, _hScrollBar.Maximum); 765_vScrollBar.Value = Math.Clamp(value.Y, _vScrollBar.Minimum, _vScrollBar.Maximum);
System\Windows\Forms\Printing\PrintPreviewControl.PrintPreviewControlAccessibleObject.cs (12)
117owner._hScrollBar.Value = (scrollValue < owner._hScrollBar.Minimum ? owner._hScrollBar.Minimum : scrollValue); 121owner._hScrollBar.Value = (scrollValue < owner._hScrollBar.Minimum ? owner._hScrollBar.Minimum : scrollValue); 140owner._vScrollBar.Value = (scrollValue < owner._vScrollBar.Minimum ? owner._vScrollBar.Minimum : scrollValue); 144owner._vScrollBar.Value = (scrollValue < owner._vScrollBar.Minimum ? owner._vScrollBar.Minimum : scrollValue); 162scrollValue = owner._hScrollBar.Minimum + (int)((owner._hScrollBar.Maximum - owner._hScrollBar.Minimum) * horizontalPercent); 168scrollValue = owner._vScrollBar.Minimum + (int)((owner._vScrollBar.Maximum - owner._vScrollBar.Minimum) * verticalPercent);
System\Windows\Forms\Scrolling\ScrollBar.cs (2)
363throw new ArgumentOutOfRangeException(nameof(value), string.Format(SR.InvalidBoundArgument, nameof(Value), value, $"'{nameof(Minimum)}'", $"'{nameof(Maximum)}'")); 594return $"{s}, Minimum: {Minimum}, Maximum: {Maximum}, Value: {Value}";
System\Windows\Forms\Scrolling\ScrollBar.ScrollBarAccessibleObject.cs (1)
167internal override double Minimum => this.TryGetOwnerAs(out ScrollBar? owner) ? owner.Minimum : base.Minimum;
System\Windows\Forms\Scrolling\ScrollBar.ScrollBarFirstPageButtonAccessibleObject.cs (1)
33: OwningScrollBar.Minimum != OwningScrollBar.Value;
System\Windows\Forms\Scrolling\ScrollBar.ScrollBarLastPageButtonAccessibleObject.cs (1)
32? OwningScrollBar.Minimum != OwningScrollBar.Value
System\Windows\Forms\Scrolling\ScrollEventType.cs (1)
46/// The scroll box was moved to the <see cref="ScrollBar.Minimum"/>
System.Windows.Forms.Tests (25)
System\Windows\Forms\HScrollBarTests.cs (1)
88Assert.Equal(0, control.Minimum);
System\Windows\Forms\ScrollBarTests.cs (23)
78Assert.Equal(0, control.Minimum); 838Assert.Equal(0, control.Minimum); 847Assert.Equal(0, control.Minimum); 872Assert.Equal(0, control.Minimum); 894Assert.Equal(0, control.Minimum); 935Assert.Equal(0, control.Minimum); 957Assert.Equal(0, control.Minimum); 988Assert.Equal(5, control.Minimum); 1003Assert.Equal(-1, control.Minimum); 1022Assert.Equal(value, control.Minimum); 1031Assert.Equal(value, control.Minimum); 1058Assert.Equal(value, control.Minimum); 1080Assert.Equal(value, control.Minimum); 1121Assert.Equal(value, control.Minimum); 1143Assert.Equal(value, control.Minimum); 1173Assert.Equal(12, control.Minimum); 1568Assert.Equal(0, control.Minimum); 1577Assert.Equal(0, control.Minimum); 1603Assert.Equal(0, control.Minimum); 1625Assert.Equal(0, control.Minimum); 1667Assert.Equal(0, control.Minimum); 1689Assert.Equal(0, control.Minimum); 1752string expectedMessage = new ArgumentOutOfRangeException(paramName, string.Format(SR.InvalidBoundArgument, nameof(control.Value), value, $"'{nameof(control.Minimum)}'", $"'{nameof(control.Maximum)}'")).Message;
System\Windows\Forms\VScrollBarTests.cs (1)
87Assert.Equal(0, control.Minimum);