8 writes to NewValue
System.Windows.Forms (8)
winforms\Managed\System\WinForms\DataGrid.cs (2)
3633se.NewValue = HorizontalOffset; 3661se.NewValue = Math.Min(se.NewValue, DataGridRowsLength - numTotallyVisibleRows);
winforms\Managed\System\WinForms\DataGridViewMethods.cs (5)
28438se.NewValue = this.HorizontalOffset; 28498se.NewValue = this.VerticalOffset; 28507se.NewValue = this.VerticalOffset; 28515se.NewValue = this.VerticalOffset; 28521se.NewValue = this.VerticalOffset;
winforms\Managed\System\WinForms\PropertyGridInternal\PropertyGridView.cs (1)
3817se.NewValue = ScrollBar.Value;
16 references to NewValue
System.Windows.Forms (16)
winforms\Managed\System\WinForms\DataGrid.cs (3)
3637HorizontalOffset = se.NewValue; 3661se.NewValue = Math.Min(se.NewValue, DataGridRowsLength - numTotallyVisibleRows); 3662int dRows = se.NewValue - firstVisibleRow;
winforms\Managed\System\WinForms\DataGridViewMethods.cs (7)
19394if (se.NewValue != newValue) 19401newValue = se.NewValue; 19425if (se.NewValue != newValue) 19430this.HorizontalOffset = se.NewValue; 28442this.HorizontalOffset = se.NewValue; 28528if (se.NewValue >= this.vertScrollBar.Maximum - this.vertScrollBar.LargeChange) 28535this.VerticalOffset = se.NewValue;
winforms\Managed\System\WinForms\PropertyGridInternal\PropertyGridView.cs (3)
3813Debug.WriteLineIf(CompModSwitches.DebugGridView.TraceVerbose, "PropertyGridView:OnScroll(" + ScrollBar.Value.ToString(CultureInfo.InvariantCulture) + " -> " + se.NewValue.ToString(CultureInfo.InvariantCulture) +")"); 3815if (!Commit() || !IsScrollValueValid(se.NewValue)) { 3828ScrollBar.Value = se.NewValue;
winforms\Managed\System\WinForms\ScrollBar.cs (1)
909Value = se.NewValue;
winforms\Managed\System\WinForms\ToolStrip.cs (2)
3860if (se.Type != ScrollEventType.ThumbTrack && se.NewValue != se.OldValue) { 3861ScrollInternal(se.OldValue - se.NewValue);