title: Vb.net - Setting a controls margin value
body: <p>So, I'm adding a label programatically and I'm in need of altering the top margin a little bit to the value 8. I can't do that the obvious way, so what's wrong with my thinking?</p>
  
  <pre><code>Dim LabelAdapter As New Label
  LabelAdapter.text = "Adapter"
  LabelAdapter.Margin.Top = 8
  </code></pre>
  
  <p>This gives me the error "Expression is a value and therefore cannot be the target of an assignment".</p>