rhc*_*fan 1 c# xaml windows-phone-8.1
我正在使用Windows Phone应用程序,我遇到了"问题".我BottomAppBar对我的View和AppBarButton命令栏内的一些控件有一个 控件.我想以BottomAppBar这样的方式"隐藏",即只显示右侧的那三个点,并且用户必须BottomAppBar向上滑动控件以查看其内容.
我试过:
IsOpenCommandBar 的属性设置为False - 不起作用AppBarButton控件可见性设置为Collapsed- 仅显示空的BottomAppBar我不太擅长解释自己,因此我会在手机上添加来自另一个应用程序的几张图片,只是为了准确显示我想要获得的内容:

您可以设置ClosedDisplayMode = Minimal
<Page.BottomAppBar>
<CommandBar ClosedDisplayMode="Minimal">
<CommandBar.SecondaryCommands>
<AppBarButton IsCompact="True" Label="About"/>
</CommandBar.SecondaryCommands>
</CommandBar>
</Page.BottomAppBar>
Run Code Online (Sandbox Code Playgroud)