I have this in XAML
I want to achieve
If you need to change the button image only then you can do one thing.
Now in XAML use this in button template
On property Change of CurrentButtonImage update the image of button (in code behind) using
CurrentImagePropertyChangedhandler(....,...)
{
switch(CurrentButtonImage)
{
case "Image1" :
this._ButtonImage.Fill = (DrawingBrush)csd.FindResource("Image1DrawingBrush");
break;
}
}