Change Button Image On Hover or Click

后端 未结 6 622
没有蜡笔的小新
没有蜡笔的小新 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:38

    The windows UI XAML toolkit now has this functionality:

    Image Button and Toggle Image Button

    Use package manager console command "Install-Package winrtxamltoolkit" in visual studio 2012 to install the toolkit... It is really useful for many things.

提交回复
热议问题