3 writes to numTotallyVisibleRows
System.Windows.Forms (3)
winforms\Managed\System\WinForms\DataGrid.cs (3)
5654numVisibleRows = numTotallyVisibleRows = 0; 5676numVisibleRows = numTotallyVisibleRows = visibleRows; 5678numTotallyVisibleRows--;
12 references to numTotallyVisibleRows
System.Windows.Forms (12)
winforms\Managed\System\WinForms\DataGrid.cs (12)
3661se.NewValue = Math.Min(se.NewValue, DataGridRowsLength - numTotallyVisibleRows); 4386newRow = Math.Max(0, Math.Min(newRow, DataGridRowsLength - numTotallyVisibleRows)); 5681Debug.Assert(numTotallyVisibleRows >= 0, "the number of totally visible rows can't be negative"); 6375|| row >= firstVisibleRow + numTotallyVisibleRows) { 6762if (numTotallyVisibleRows != DataGridRowsLength && !needVertScrollbar) { 6791if (numTotallyVisibleRows != DataGridRowsLength && !needVertScrollbar) { 6843vertScrollBar.LargeChange = numTotallyVisibleRows != 0 ? numTotallyVisibleRows : 1; 7908CurrentRow = Math.Min(DataGridRowsLength - (policy.AllowAdd ? 2:1), currentRow + numTotallyVisibleRows); 7930CurrentRow + numTotallyVisibleRows); 7942CurrentRow = Math.Max(0, CurrentRow - numTotallyVisibleRows); 7965CurrentRow - numTotallyVisibleRows);