Change Button Image On Hover or Click

后端 未结 6 606
没有蜡笔的小新
没有蜡笔的小新 2020-12-10 19:58

How do I change the background image of a Button on Hover and on Click? The Visual Studio\'s UI does not seem to provide any easy way of doing it. Currently the default beha

6条回答
  •  醉梦人生
    2020-12-10 20:42

    Here is a style that turns visibility on and off for some extra images you add in Blend. The images are transparent and go behind the button background image by using "Send to Back" .. so in other words, you get to keep using a different background image brush for each button, plus the swapped Normal, Pointer, and Pressed images. So two background images overlaid.

        
    

提交回复
热议问题