I have an image
but wnen i try to set button's background like
<UserControl x:Class="System.Windows.Controls.UserControl" xmlns="http://schemas.microsoft.com/client/2007" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
<Button x:Name="plus_button" Width="30" Height="25">
<Button.Background>
<ImageBrush AlignmentY="Top" Stretch="None" ImageSource="plus_unhover.jpg"></ImageBrush>
</Button.Background>
</Button>
</UserControl>
i have
http://savepic.su/2309262.htm
those image in all browsers...
how can i set normal image to background of the button?
and how i can set another image to backgroun onmouseover event of this button in xaml?
I use a style for buttons, like this:
And applying this style to the button:
I think its a best solution, cause you can display what you want on another states and control visible effects.