如何为WP8.1的BottomAppBar指定最小化模式

13

如何在 WP8.1 WINRT 中为 BottomAppBar 设置 Mode="Minimized"?

2个回答

28

BottomAppBarClosedDisplayMode="Minimal"相当于Mode="Minimized"ApplicationBar中的作用。

<Page.BottomAppBar>
        <CommandBar ClosedDisplayMode="Minimal">
         ...
        </CommandBar>
</Page.BottomAppBar>

6

该属性位于 Commandbar 上,名为 ClosedDisplayMode:

    <Page.BottomAppBar>
        <CommandBar ClosedDisplayMode="Minimal">
            <CommandBar.PrimaryCommands>
            </CommandBar.PrimaryCommands>
            <CommandBar.SecondaryCommands>
            </CommandBar.SecondaryCommands>
        </CommandBar>
    </Page.BottomAppBar>

网页内容由stack overflow 提供, 点击上面的
可以查看英文原文,
原文链接