4 writes to Minimum
System.Windows.Forms (4)
System\Windows\Forms\Controls\DataGridView\DataGridView.Methods.cs (4)
10312
_horizScrollBar.
Minimum
= 0;
10332
_horizScrollBar.
Minimum
= 0;
10354
_vertScrollBar.
Minimum
= 0;
10376
_vertScrollBar.
Minimum
= 0;
26 references to Minimum
System.Windows.Forms (26)
System\Windows\Forms\Controls\DataGridView\DataGridView.Methods.cs (4)
16562
while (_vertScrollBar.Value != _vertScrollBar.
Minimum
&& absScrollBands > 0)
16568
if (_vertScrollBar.Value == _vertScrollBar.
Minimum
)
16610
extremeScrollBarValue = _horizScrollBar.
Minimum
;
28441
if (_vertScrollBar.Value != _vertScrollBar.
Minimum
)
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\PropertyGridView.cs (2)
3251
if (_scrollBar!.Value <= _scrollBar.
Minimum
)
4272
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)
356
throw new ArgumentOutOfRangeException(nameof(value), string.Format(SR.InvalidBoundArgument, nameof(Value), value, $"'{nameof(
Minimum
)}'", $"'{nameof(Maximum)}'"));
587
return $"{s}, Minimum: {
Minimum
}, Maximum: {Maximum}, Value: {Value}";
System\Windows\Forms\Scrolling\ScrollBar.ScrollBarAccessibleObject.cs (1)
166
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
"/>