Add an image in a WPF button

前端 未结 7 919
执念已碎
执念已碎 2020-12-23 12:59

I tried this solution:

7条回答
  •  無奈伤痛
    2020-12-23 13:42

    I also had the same issue. I've fixed it by using the following code.

            
    

    Note: Make sure the build action of the image in the property window, should be Resource.

提交回复
热议问题