I use a simple button in WPF. I put the image for the button on the background. My problem is that when I move the mouse over the button, it gets the default glow and overrides the image specified as the background.
<Button Grid.Column="3" Name="Play" BorderBrush="Transparent" Focusable="False" Width="45" Height="45" Click="Play_Click" VerticalAlignment="Center" HorizontalAlignment="Center" Margin="0,6,10,6"> <Button.Background > <ImageBrush ImageSource="images/play.png" /> </Button.Background> <Button.Foreground> <ImageBrush ImageSource="images/play.png" /> </Button.Foreground> </Button>
Please help me.
c # button styles wpf mousehover
Sarin Aug 08 '13 at 9:15 2013-08-08 09:15
source share