title: WPF - Change backgroundcolor on button hover
body: <p>I tried many different options to change the backgroundcolor on hover, but it dosen't work for me.</p>
  
  <p>Here is my code:</p>
  
  <pre><code>&lt;Button x:Name="bAction" HorizontalAlignment="Center" Margin="0,500,0,0" VerticalAlignment="Center" Height="100" Width="1000" BorderBrush="Black" OpacityMask="White" Background="#FF5B5B5B" IsDefault="True" Click="bAction_Click"&gt;
      &lt;TextBlock x:Name="tbAction" TextWrapping="Wrap" Text="Test" Foreground="White" IsEnabled="False" Width="990" Height="85" FontFamily="Letter Gothic Std" FontSize="21.333" FontWeight="Bold" TextDecorations="{x:Null}" TextAlignment="Center"/&gt;
  &lt;/Button&gt;
  </code></pre>