A我的Windows Phone 8.1中有以下CommandBar(我正在使用通用模板):
<Page.BottomAppBar>
<CommandBar>
<AppBarButton Label="add task" Click="GoToAddTask">
<AppBarButton.Icon>
<SymbolIcon Symbol="Add" />
</AppBarButton.Icon>
</AppBarButton>
<AppBarButton Label="sort by">
<AppBarButton.Icon>
<SymbolIcon Symbol="Sort" />
</AppBarButton.Icon>
<AppBarButton.Flyout>
<MenuFlyout>
<MenuFlyoutItem Command="{Binding SortByDate}" Text="Date" />
<MenuFlyoutItem Text="Priority" Command="{Binding SortByPriority}" />
<MenuFlyoutItem Text="Name" Command="{Binding SortByName}" />
</MenuFlyout>
</AppBarButton.Flyout>
</AppBarButton>
<AppBarButton Label="pin project" Command="{Binding PinProject}">
<AppBarButton.Icon>
<SymbolIcon Symbol="Pin" />
</AppBarButton.Icon>
</AppBarButton>
</CommandBar>
</Page.BottomAppBar>
Run Code Online (Sandbox Code Playgroud)
问题是,当用户点击AppBarButton"排序依据"时,Flyout的下边缘似乎粘在AppBar本身后面的屏幕底部.这是一个截图:

我检查了在Windows 8.1当量,它工作正常(如图所示例如这里).
我假设Flyout将显示在AppBar本身上方.