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)
277
Minimum
= minimum,
System\Windows\Forms\AccessibleObjects\HScrollBar.ScrollBarFirstLineButtonAccessibleObjectTests.cs (1)
339
Minimum
= minimum,
System\Windows\Forms\AccessibleObjects\HScrollBar.ScrollBarFirstPageButtonAccessibleObjectTests.cs (1)
377
Minimum
= minimum,
System\Windows\Forms\AccessibleObjects\HScrollBar.ScrollBarLastLineButtonAccessibleObjectTests.cs (1)
349
Minimum
= minimum,
System\Windows\Forms\AccessibleObjects\HScrollBar.ScrollBarLastPageButtonAccessibleObjectTests.cs (1)
364
Minimum
= minimum,
System\Windows\Forms\AccessibleObjects\HScrollBar.ScrollBarThumbAccessibleObjectTests.cs (1)
269
Minimum
= minimum,
System\Windows\Forms\AccessibleObjects\VScrollBar.ScrollBarFirstLineButtonAccessibleObjectTests.cs (1)
323
Minimum
= minimum,
System\Windows\Forms\AccessibleObjects\VScrollBar.ScrollBarFirstPageButtonAccessibleObjectTests.cs (1)
361
Minimum
= minimum,
System\Windows\Forms\AccessibleObjects\VScrollBar.ScrollBarLastLineButtonAccessibleObjectTests.cs (1)
333
Minimum
= minimum,
System\Windows\Forms\AccessibleObjects\VScrollBar.ScrollBarLastPageButtonAccessibleObjectTests.cs (1)
348
Minimum
= minimum,
System\Windows\Forms\AccessibleObjects\VScrollBar.ScrollBarThumbAccessibleObjectTests.cs (1)
269
Minimum
= minimum,
System\Windows\Forms\AccessibleObjects\VScrollBar.VScrollBarAccessibleObjectTests.cs (1)
265
Minimum
= minimum,
System\Windows\Forms\ScrollBarTests.cs (12)
602
Minimum
= 5,
708
Minimum
= 5,
984
Minimum
= 8,
1019
Minimum
= value
1029
control.
Minimum
= value;
1056
control.
Minimum
= value;
1078
control.
Minimum
= value;
1119
control.
Minimum
= value;
1141
control.
Minimum
= value;
1170
Minimum
= 12
3110
vScrollBar.
Minimum
= minimum;
3129
hScrollBar.
Minimum
= minimum;
WinFormsControlsTest (2)
ScrollBars.cs (2)
25
hScrollBar.
Minimum
= decimal.ToInt32(numericMinimum.Value);
26
vScrollBar.
Minimum
= decimal.ToInt32(numericMinimum.Value);
51 references to Minimum
System.Windows.Forms (26)
System\Windows\Forms\Controls\DataGridView\DataGridView.Methods.cs (4)
16552
while (_vertScrollBar.Value != _vertScrollBar.
Minimum
&& absScrollBands > 0)
16558
if (_vertScrollBar.Value == _vertScrollBar.
Minimum
)
16600
extremeScrollBarValue = _horizScrollBar.
Minimum
;
28433
if (_vertScrollBar.Value != _vertScrollBar.
Minimum
)
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\PropertyGridView.cs (2)
3213
if (_scrollBar!.Value <= _scrollBar.
Minimum
)
4234
if (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)
117
owner._hScrollBar.Value = (scrollValue < owner._hScrollBar.
Minimum
? owner._hScrollBar.
Minimum
: scrollValue);
121
owner._hScrollBar.Value = (scrollValue < owner._hScrollBar.
Minimum
? owner._hScrollBar.
Minimum
: scrollValue);
140
owner._vScrollBar.Value = (scrollValue < owner._vScrollBar.
Minimum
? owner._vScrollBar.
Minimum
: scrollValue);
144
owner._vScrollBar.Value = (scrollValue < owner._vScrollBar.
Minimum
? owner._vScrollBar.
Minimum
: scrollValue);
162
scrollValue = owner._hScrollBar.
Minimum
+ (int)((owner._hScrollBar.Maximum - owner._hScrollBar.
Minimum
) * horizontalPercent);
168
scrollValue = owner._vScrollBar.
Minimum
+ (int)((owner._vScrollBar.Maximum - owner._vScrollBar.
Minimum
) * verticalPercent);
System\Windows\Forms\Scrolling\ScrollBar.cs (2)
363
throw new ArgumentOutOfRangeException(nameof(value), string.Format(SR.InvalidBoundArgument, nameof(Value), value, $"'{nameof(
Minimum
)}'", $"'{nameof(Maximum)}'"));
594
return $"{s}, Minimum: {
Minimum
}, Maximum: {Maximum}, Value: {Value}";
System\Windows\Forms\Scrolling\ScrollBar.ScrollBarAccessibleObject.cs (1)
167
internal 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)
88
Assert.Equal(0, control.
Minimum
);
System\Windows\Forms\ScrollBarTests.cs (23)
78
Assert.Equal(0, control.
Minimum
);
838
Assert.Equal(0, control.
Minimum
);
847
Assert.Equal(0, control.
Minimum
);
872
Assert.Equal(0, control.
Minimum
);
894
Assert.Equal(0, control.
Minimum
);
935
Assert.Equal(0, control.
Minimum
);
957
Assert.Equal(0, control.
Minimum
);
988
Assert.Equal(5, control.
Minimum
);
1003
Assert.Equal(-1, control.
Minimum
);
1022
Assert.Equal(value, control.
Minimum
);
1031
Assert.Equal(value, control.
Minimum
);
1058
Assert.Equal(value, control.
Minimum
);
1080
Assert.Equal(value, control.
Minimum
);
1121
Assert.Equal(value, control.
Minimum
);
1143
Assert.Equal(value, control.
Minimum
);
1173
Assert.Equal(12, control.
Minimum
);
1568
Assert.Equal(0, control.
Minimum
);
1577
Assert.Equal(0, control.
Minimum
);
1603
Assert.Equal(0, control.
Minimum
);
1625
Assert.Equal(0, control.
Minimum
);
1667
Assert.Equal(0, control.
Minimum
);
1689
Assert.Equal(0, control.
Minimum
);
1752
string 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)
87
Assert.Equal(0, control.
Minimum
);