title: C# Change background color of a table cell inTableLayoutPanel
body: <p>I am trying to change the background color of a table cell inside a <code>TableLayoutPanel</code> programmatically. The cells can either be <code>null</code> or taken by a user control during runtime (always changing).</p>
  
  <p>I was doing this:</p>
  
  <pre><code>TableName.GetControlFromPosition(column, row).BackColor = Color.CornflowerBlue;
  </code></pre>
  
  <p>Of course, this only works if there is something at that cell. How can I also change the properties of a null cell at runtime?</p>