Trying to either change the background image of a button when it's clicked or change the button into an image when clicked.
var brush = new ImageBrush
{
ImageSource = new BitmapImage(new Uri("image1.jpg", UriKind.Relative))
};
Button1.Background = brush;