title: How to switch on the mouse over effect of a button programmatically?
body: <p>I have a problem with the buttons in wpf. If I move my mouse over the button, it becomes the default light blue colour, but I have an image in the button, so the image hides while the mouse is there. </p>
  
  <p>I've seen some solution for this, but they were made in the XAML code. I created my buttons programmatically so it doesn't work. And the last pushed button always flashes also if I don't have my cursor on it. The problem is the same. So I need the C# code not the xaml code. </p>
  
  <p>Any ideas? :)</p>