I have a button to which i add a image as its background but when i press the button i get a square on the background of the button (highlight). How can i remove this?
<Button VerticalAlignment="Top" HorizontalAlignment="Left" BorderBrush="Transparent" Click="FirstCubeSelected" x:Name="cube1Button" Padding="0" Margin="1,0,-1,0">
<Image x:Name="buttonImage" Source="/images/cub2onbtn.png" Width="176" Height="176" />
</Button>
I usually do this in expression blend but i don't have access to it now
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…