Previously I had run a WPF program that will change button colour through animation from original colour to light blue whenever mouse over the button.
Although I had stopped running that program, button still change colour as usual for any new VB.net or WPF program I created.
How to cancel button changing colour effect?
Although I set background of button to change to lightgray whenever mouse is over the button, the button still change to light blue.
<Trigger Property="IsMouseOver" Value="True"><Setter Property="Width" Value="1050"/>
<Setter Property="Height" Value="40"/>
<Setter Property="FontSize" Value="16"/>
<Setter Property="FontWeight" Value="Bold"/>
<Setter Property="Background" Value="LightGray"/>
<!--Setter Property="Foreground" Value="LightGray"/-->
<Setter Property="BorderBrush" Value="black"/>
<Setter Property="Opacity" Value="10"/>
</Trigger>
Jason