【发布时间】:2016-12-18 05:30:21
【问题描述】:
单击联系人图标后,其背景颜色会变为蓝色,但会立即恢复为原始颜色。我想将背景颜色保持为蓝色,直到 OnClick 函数返回。不知道有什么办法吗?
<Page.BottomAppBar>
<CommandBar>
<CommandBar.PrimaryCommands>
<AppBarButton x:Name="ContactBtn" x:Uid="Contact_id" Icon="Contact" Label="View Contacts" Click="OnClick" />
</CommandBar.PrimaryCommands>
</CommandBar>
</Page.BottomAppBar>
【问题讨论】:
标签: c# windows xaml button appbar