Add an image in a WPF button

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

I tried this solution:

7条回答
  •  野趣味
    野趣味 (楼主)
    2020-12-23 14:02

    I found that I also had to set the Access Modifier in the Resources tab to 'Public' - by default it was set to Internal and my icon only appeared in design mode but not when I ran the application.

提交回复
热议问题