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

时间:2014-07-07 16:34:23

标签: winrt-xaml windows-phone-8.1 appbar

谁在 WP8.1 WINRT 中为Mode="Minimized"设置BottomAppBar

2 个答案:

答案 0 :(得分:28)

ApplicationBar Mode="Minimized"相当于 BottomAppBar

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

答案 1 :(得分:6)

该属性位于Commandbar,ClosedDisplayMode:

    <Page.BottomAppBar>
        <CommandBar ClosedDisplayMode="Minimal">
            <CommandBar.PrimaryCommands>
            </CommandBar.PrimaryCommands>
            <CommandBar.SecondaryCommands>
            </CommandBar.SecondaryCommands>
        </CommandBar>
    </Page.BottomAppBar>
相关问题