title: Change button color with click in VB.NET
body: <p>I am trying to change the button color on my form in VB.net to red upon click.  I have used the code below but I keep getting errors.</p>
  
  <pre><code>Button1.BackColor = Color.Gold
  </code></pre>
  
  <p>This gets me two errors.  The first is " 'BackColor' is not a member of 'System.Windows.Controls.Button' " and the second error is " 'Gold' is not a member of 'System.Windows.Media.Color' "  Can someone please point me in the right direction.</p>