0

i was trying out Microsoft blend and i added a button to my stackpanel.

I did the Following:

1)Edit a Copy of the Button Template: Key = "ButtonStyle1".

2)Deleted the Content Presenter.

3)Added an Image Control and linked it up with a image in my desktop.

May i know how do i do this dynamically using c# code behind to add a button and do the following above. Taking into consideration that i already know the path of the image.

RStyle
  • 875
  • 2
  • 10
  • 29

0 Answers0