【发布时间】:2014-04-08 09:37:12
【问题描述】:
我添加了一个按钮,然后将其背景更改为图片。当它运行时,如果我将鼠标悬停在按钮上,图片就消失了,当我单击时,它会变成纯白色 我想改变它..我想在悬停时显示图片并点击
如何做到这一点?请帮帮我
我正在使用 Visual Studio 2013 - Windows 商店 - c#/xaml
这是我的 btton 的 xaml 代码
<Button Content="Asia" HorizontalAlignment="Left" Margin="232,366,0,0" VerticalAlignment="Top" Height="395" Width="235" BorderThickness="0">
<Button.Background>
<ImageBrush ImageSource="south amirica.png"/>
</Button.Background>
</Button>
我要在这里改变什么吗??
【问题讨论】:
标签: c# xaml windows-8 windows-store-apps