I just created the wpf button and when I click on the button, it changed to white color like flashing and change back to original color when I release the button. What could be the problem? I didn't use any effect. Below is my button xaml. please advice.
<Button Content="ROM" Height="121" HorizontalAlignment="Left" Margin="91,269,0,0" Name="button1" VerticalAlignment="Top" Width="566" FontSize="48" BorderBrush="#FF3DFF00" BorderThickness="10" Foreground="White">
<Button.BitmapEffect>
<DropShadowBitmapEffect ShadowDepth="2" Color="Gray"></DropShadowBitmapEffect>
</Button.BitmapEffect>
<Button.Background>
<RadialGradientBrush>
<GradientStop Color="#FF4094D8" Offset="0" />
<GradientStop Color="#FF2B476F" Offset="1" />
</RadialGradientBrush>
</Button.Background>
</Button>