【发布时间】:2016-06-22 12:06:53
【问题描述】:
this page in Windows Dev Center 上面写着
当空间有限时,新的动态溢出行为会自动将主要命令移动到 SecondaryCommands 区域。
但在我的应用程序中只有 4 个按钮可见,第 5 个不存在,如果我打开菜单也不存在,我必须手动将其放入 SecondaryCommands 列表中,以使 Windows 显示它。
我做了一个简单的 CommandBar 来测试它
<CommandBar>
<AppBarButton Icon="Find" Label="test" />
<AppBarButton Icon="Find" Label="test" />
<AppBarButton Icon="Find" Label="test" />
<AppBarButton Icon="Find" Label="test" />
<AppBarButton Icon="Find" Label="test" />
</CommandBar>
构建目标和最低版本是 10.0 10586。
我还注意到CommandBarOverflowButtonVisibility 和类似的属性找不到。
【问题讨论】:
标签: c# xaml uwp commandbar