Xaml WindowsPhone8AppBar命令

Xaml WindowsPhone8AppBar命令,xaml,windows-runtime,windows-phone-8.1,Xaml,Windows Runtime,Windows Phone 8.1,我正在尝试在我的AppBar中使用您在下面的about中看到的命令样式: 我可以让按钮(如add和settings)显示得很好,但是我找不到任何方法来显示像about这样的命令。这不应该在AppBar中完成吗?Silverlight 查看中的菜单项 文件样本: <phone:PhoneApplicationPage.ApplicationBar> <shell:ApplicationBar Mode="Default" Opacity="1.0" IsMenuEnab

我正在尝试在我的
AppBar
中使用您在下面的
about
中看到的命令样式:

我可以让按钮(如
add
settings
)显示得很好,但是我找不到任何方法来显示像
about
这样的命令。这不应该在
AppBar
中完成吗?

Silverlight 查看中的
菜单项

文件样本:

<phone:PhoneApplicationPage.ApplicationBar>
    <shell:ApplicationBar Mode="Default" Opacity="1.0" IsMenuEnabled="True" IsVisible="True">

        <shell:ApplicationBarIconButton Click="Save_Click" IconUri="/Images/save.png" Text="save" />
        <shell:ApplicationBarIconButton Click="Settings_Click" IconUri="/Images/settings.png" Text="settings" />

        <shell:ApplicationBar.MenuItems>
            <shell:ApplicationBarMenuItem Click="MenuItem1_Click" Text="menu item 1" />
            <shell:ApplicationBarMenuItem Click="MenuItem2_Click" Text="menu item 2" />
        </shell:ApplicationBar.MenuItems>

    </shell:ApplicationBar>
</phone:PhoneApplicationPage.ApplicationBar>

我想这是在使用Silverlight项目?
<page.BottomAppBar>
    <commandBar>
        <commandBar.PrimaryCommands>
            <appBarButton Label="{Binding AppBarLabel}" Command="{Binding SomeCommand}">
                <appBarButton.Icon>
                    <pathIcon HorizontalAlignment="Center" VerticalAlignment="Center" Data="Some path"/>
                </appBarButton.Icon>
            </appBarButton>
        </commandBar.PrimaryCommands>
        <commandBar.SecondaryCommands>
            <appBarButton x:Uid="AppBarSec" Label="$$get from resource$$" Command="{Binding SomeCommand}">
            </appBarButton>
        </commandBar.SecondaryCommands>
    </commandBar>
</page.BottomAppBar>