11 writes to NewValue
System.Windows.Forms (10)
System\Windows\Forms\Controls\DataGridView\DataGridView.Methods.cs (5)
28414se.NewValue = HorizontalOffset; 28446se.NewValue = VerticalOffset; 28457se.NewValue = VerticalOffset; 28466se.NewValue = VerticalOffset; 28473se.NewValue = VerticalOffset;
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\PropertyGridView.cs (1)
3619e.NewValue = ScrollBar.Value;
System\Windows\Forms\Scrolling\ScrollEventArgs.cs (4)
18NewValue = newValue; 28NewValue = newValue; 36NewValue = newValue; 43NewValue = newValue;
System.Windows.Forms.Tests (1)
System\Windows\Forms\ScrollEventArgsTests.cs (1)
74NewValue = value
20 references to NewValue
System.Windows.Forms (12)
System\Windows\Forms\Controls\DataGridView\DataGridView.Methods.cs (7)
18862if (se.NewValue != newValue) 18869newValue = se.NewValue; 18895if (se.NewValue != newValue) 18900HorizontalOffset = se.NewValue; 28418HorizontalOffset = se.NewValue; 28481if (se.NewValue >= _vertScrollBar.Maximum - _vertScrollBar.LargeChange) 28488VerticalOffset = se.NewValue;
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\PropertyGridView.cs (2)
3616if (!CommitEditTextBox() || !IsScrollValueValid(e.NewValue)) 3630ScrollBar.Value = e.NewValue;
System\Windows\Forms\Controls\ToolStrips\ToolStrip.cs (2)
3687if (se.Type != ScrollEventType.ThumbTrack && se.NewValue != se.OldValue) 3689ScrollInternal(se.OldValue - se.NewValue);
System\Windows\Forms\Scrolling\ScrollBar.cs (1)
722Value = se.NewValue;
System.Windows.Forms.Tests (8)
System\Windows\Forms\ScrollBarTests.cs (3)
2484Assert.Equal(expected[callCount].NewValue, e.NewValue); 2839Assert.Equal(expectedValue, e.NewValue);
System\Windows\Forms\ScrollEventArgsTests.cs (5)
18Assert.Equal(newValue, e.NewValue); 33Assert.Equal(newValue, e.NewValue); 47Assert.Equal(newValue, e.NewValue); 61Assert.Equal(newValue, e.NewValue); 76Assert.Equal(value, e.NewValue);