title: How to change the background color of button in windows phone application?
body: <p>I am developing window phone 7 application in C# &amp; silverlight 4. I am new to the silverlight.I have two buttons in my application for different purposes. I want to change the color of the button dynamically when the button gets clicked. So I am using the following code</p>
  
  <pre><code> IncomeButton.Background = new SolidColorBrush(Colors.Red);
  </code></pre>
  
  <p>But it is not working. Can you please provide me any code or link through which I can resolve the above issue ? If I am doing anything wrong then please guide me.</p>