WPF Button with Image

后端 未结 6 1708
长发绾君心
长发绾君心 2020-12-08 00:11

I\'m trying to attach an image on a button in WPF, however this code fails. Seems strange after similar code would work perfectly in Mozilla XUL.

6条回答
  •  情歌与酒
    2020-12-08 00:32

    Another way to Stretch image to full button. Can try the below code.

    
      
    
    
    

    Referred from Here

    Also it might helps other. I posted the same with MouseOver Option here.

提交回复
热议问题