【发布时间】:2016-02-21 02:35:24
【问题描述】:
我的 UWP 应用中有 CommandBar:
<Page.BottomAppBar>
<CommandBar x:Name="BottomBar">
<AppBarButton Icon="Save" Label="Save" Click="OnSave"/>
<AppBarButton Icon="Clear" Label="Reset"/>
</CommandBar>
</Page.BottomAppBar>
在Windows Phone 8.1中,当Keyboard显示时,如果我按下Save,它将执行OnSave方法。
但在 UWP 中,按 Save 将隐藏 Keyboard 未执行 Click 事件。
我希望这个 CommandBar 表现得像 Windows Phone 8.1。
【问题讨论】:
标签: xaml windows-phone-8 win-universal-app