29 writes to Value
System.Windows.Forms (29)
System\Windows\Forms\Controls\DataGridView\DataGridView.cs (2)
2698_horizScrollBar.Value = value; 4108_vertScrollBar.Value = value;
System\Windows\Forms\Controls\DataGridView\DataGridView.Methods.cs (7)
4543_vertScrollBar.Value = ComputeHeightOfScrolledOffRows(); 10336_horizScrollBar.Value = 0; 10357_vertScrollBar.Value = ComputeHeightOfScrolledOffRows(); 10379_vertScrollBar.Value = 0; 14350_horizScrollBar.Value = _horizontalOffset; 17192_horizScrollBar.Value = _horizontalOffset; 26323_vertScrollBar.Value = VerticalScrollingOffset;
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\PropertyGridView.cs (2)
3668ScrollBar.Value = e.NewValue; 4585ScrollBar.Value = newPosition;
System\Windows\Forms\Printing\PrintPreviewControl.cs (5)
764_hScrollBar.Value = Math.Clamp(value.X, _hScrollBar.Minimum, _hScrollBar.Maximum); 765_vScrollBar.Value = Math.Clamp(value.Y, _vScrollBar.Minimum, _vScrollBar.Maximum); 812_hScrollBar.Value = 0; 839_vScrollBar.Value = 0; 883scrollBar.Value -= diff;
System\Windows\Forms\Printing\PrintPreviewControl.PrintPreviewControlAccessibleObject.cs (10)
109owner._hScrollBar.Value = (scrollValue > owner._hScrollBar.Maximum ? owner._hScrollBar.Maximum : scrollValue); 113owner._hScrollBar.Value = (scrollValue > owner._hScrollBar.Maximum ? owner._hScrollBar.Maximum : scrollValue); 117owner._hScrollBar.Value = (scrollValue < owner._hScrollBar.Minimum ? owner._hScrollBar.Minimum : scrollValue); 121owner._hScrollBar.Value = (scrollValue < owner._hScrollBar.Minimum ? owner._hScrollBar.Minimum : scrollValue); 132owner._vScrollBar.Value = (scrollValue > owner._vScrollBar.Maximum ? owner._vScrollBar.Maximum : scrollValue); 136owner._vScrollBar.Value = (scrollValue > owner._vScrollBar.Maximum ? owner._vScrollBar.Maximum : scrollValue); 140owner._vScrollBar.Value = (scrollValue < owner._vScrollBar.Minimum ? owner._vScrollBar.Minimum : scrollValue); 144owner._vScrollBar.Value = (scrollValue < owner._vScrollBar.Minimum ? owner._vScrollBar.Minimum : scrollValue); 163owner._hScrollBar.Value = scrollValue; 169owner._vScrollBar.Value = scrollValue;
System\Windows\Forms\Scrolling\ScrollBar.cs (2)
244Value = value; 715Value = se.NewValue;
System\Windows\Forms\Scrolling\ScrollBar.ScrollBarAccessibleObject.cs (1)
177owner.Value = (int)newValue;
49 references to Value
System.Windows.Forms (48)
System\Windows\Forms\Controls\DataGridView\DataGridView.Methods.cs (13)
4538int oldVertScrollBarValue = _vertScrollBar.Value; 4545VerticalScrollingOffset = _vertScrollBar.Value; 4557Debug.Assert(VerticalScrollingOffset == _vertScrollBar.Value); 10368VerticalScrollingOffset = _vertScrollBar.Value; 16562while (_vertScrollBar.Value != _vertScrollBar.Minimum && absScrollBands > 0) 16568if (_vertScrollBar.Value == _vertScrollBar.Minimum) 16583&& _vertScrollBar.Value + Rows.SharedRow(DisplayedBandsInfo.FirstDisplayedScrollingRow).GetHeight(DisplayedBandsInfo.FirstDisplayedScrollingRow) 16594if (_vertScrollBar.Value + Rows.SharedRow(DisplayedBandsInfo.FirstDisplayedScrollingRow).GetHeight(DisplayedBandsInfo.FirstDisplayedScrollingRow) 16620while (_horizScrollBar.Value != extremeScrollBarValue && absScrollBands > 0) 16626if (_horizScrollBar.Value == extremeScrollBarValue) 17172if (newHorizontalOffset >= 0 && newHorizontalOffset < _horizScrollBar.Value) 28429if (_vertScrollBar.Value + Rows.SharedRow(DisplayedBandsInfo.FirstDisplayedScrollingRow).GetHeight(DisplayedBandsInfo.FirstDisplayedScrollingRow) <= 28441if (_vertScrollBar.Value != _vertScrollBar.Minimum)
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\PropertyGridView.cs (7)
1791int pos = ScrollBar.Value; 2091if (newValue == ScrollBar.Value 3251if (_scrollBar!.Value <= _scrollBar.Minimum) 3262if (_scrollBar!.Value > (_scrollBar.Maximum - _visibleRows + 1)) 3657e.NewValue = ScrollBar.Value; 3673SelectGridEntry(oldGridEntry, pageIn: ScrollBar.Value == TotalProperties); 4582int oldPosition = ScrollBar.Value;
System\Windows\Forms\Printing\PrintPreviewControl.cs (6)
619_position.X = _hScrollBar.Value; 620_position.Y = _vScrollBar.Value; 810else if (_hScrollBar.Value > 0) 837else if (_vScrollBar.Value > 0) 877if (scrollBar.Value > 0) 881if (scrollBar.Value >= diff)
System\Windows\Forms\Printing\PrintPreviewControl.PrintPreviewControlAccessibleObject.cs (10)
108scrollValue = owner._hScrollBar.Value + owner._hScrollBar.LargeChange; 112scrollValue = owner._hScrollBar.Value + owner._hScrollBar.SmallChange; 116scrollValue = owner._hScrollBar.Value - owner._hScrollBar.LargeChange; 120scrollValue = owner._hScrollBar.Value - owner._hScrollBar.SmallChange; 131scrollValue = owner._vScrollBar.Value + owner._vScrollBar.LargeChange; 135scrollValue = owner._vScrollBar.Value + owner._vScrollBar.SmallChange; 139scrollValue = owner._vScrollBar.Value - owner._vScrollBar.LargeChange; 143scrollValue = owner._vScrollBar.Value - owner._vScrollBar.SmallChange; 181double percent = owner._hScrollBar.Value * 100.0 / (owner._hScrollBar.Maximum - owner._hScrollBar.LargeChange); 195double percent = owner._vScrollBar.Value * 100.0 / (owner._vScrollBar.Maximum - owner._vScrollBar.LargeChange);
System\Windows\Forms\Scrolling\ScrollBar.cs (6)
14[DefaultProperty(nameof(Value))] 194/// Gets or sets a value to be added or subtracted to the <see cref="Value"/> 284/// Gets or sets the value to be added or subtracted to the <see cref="Value"/> 356throw new ArgumentOutOfRangeException(nameof(value), string.Format(SR.InvalidBoundArgument, nameof(Value), value, $"'{nameof(Minimum)}'", $"'{nameof(Maximum)}'")); 457/// Occurs when the <see cref="Value"/> property has 587return $"{s}, Minimum: {Minimum}, Maximum: {Maximum}, Value: {Value}";
System\Windows\Forms\Scrolling\ScrollBar.ScrollBarAccessibleObject.cs (1)
158internal override double RangeValue => this.TryGetOwnerAs(out ScrollBar? owner) ? owner.Value : base.RangeValue;
System\Windows\Forms\Scrolling\ScrollBar.ScrollBarFirstPageButtonAccessibleObject.cs (2)
32? ParentInternal.UIMaximum > OwningScrollBar.Value 33: OwningScrollBar.Minimum != OwningScrollBar.Value;
System\Windows\Forms\Scrolling\ScrollBar.ScrollBarLastPageButtonAccessibleObject.cs (2)
32? OwningScrollBar.Minimum != OwningScrollBar.Value 33: ParentInternal.UIMaximum > OwningScrollBar.Value;
System\Windows\Forms\Scrolling\ScrollProperties.cs (1)
178/// Gets or sets the value to be added or subtracted to the <see cref="ScrollBar.Value"/>
System.Windows.Forms.Design (1)
System\ComponentModel\Design\ByteViewer.cs (1)
601_startLine = _scrollBar.Value;