Uwp 用appbarbutton替换commandbar中的“更多选项”按钮

Uwp 用appbarbutton替换commandbar中的“更多选项”按钮,uwp,uwp-xaml,Uwp,Uwp Xaml,如何用appbarbutton(称为按钮A)替换commandbar中的“更多选项”按钮。单击按钮A时,我需要显示带有标签的其他AppBarButton(在appbarbuttons的底部)。在AppBarButton中使用弹出按钮 <AppBarButton Label="A"> <AppBarButton.Flyout> <Flyout> <StackPanel>

如何用appbarbutton(称为按钮A)替换commandbar中的“更多选项”按钮。单击按钮A时,我需要显示带有标签的其他AppBarButton(在appbarbuttons的底部)。

在AppBarButton中使用弹出按钮

<AppBarButton Label="A">   
    <AppBarButton.Flyout>
        <Flyout>
            <StackPanel>
                <Button Content="B"/>
                <Button Content="C"/>   
            </StackPanel>
        </Flyout>   
    </AppBarButton.Flyout>
</AppBarButton>