Windows 显示汉堡按钮的弹出按钮

Windows 显示汉堡按钮的弹出按钮,windows,uwp-xaml,hamburger-menu,flyout,Windows,Uwp Xaml,Hamburger Menu,Flyout,我想展示一个汉堡按钮的弹出按钮。。。就像它发生在Windows10注销中一样(见图) 有可能吗 杰西卡谢谢你的回复,但在我的代码里我可以把你的放在哪里 <Controls:HamburgerButtonInfo x:Name="LogoutButton" PageParameter="0" ButtonType="Command" Tapped="LogoutButton_Tapped"> <Controls:HamburgerButtonInfo.Naviga

我想展示一个汉堡按钮的弹出按钮。。。就像它发生在Windows10注销中一样(见图)

有可能吗


杰西卡谢谢你的回复,但在我的代码里我可以把你的放在哪里

<Controls:HamburgerButtonInfo x:Name="LogoutButton" PageParameter="0" ButtonType="Command" Tapped="LogoutButton_Tapped">  
    <Controls:HamburgerButtonInfo.NavigationTransitionInfo>  
        <SuppressNavigationTransitionInfo />  
    </Controls:HamburgerButtonInfo.NavigationTransitionInfo>  
    <StackPanel Orientation="Horizontal">  
        <ToolTipService.ToolTip>  
            <TextBlock Text="Logout" x:Uid="logout_ToolTipService" TextWrapping="Wrap" />  
        </ToolTipService.ToolTip>  
        <SymbolIcon Width="48" Height="48" Symbol="Contact" />  
        <TextBlock Margin="12,0,0,0" Name="textBlock_LogoutButton"  x:Uid="textBlock_LogoutButton" VerticalAlignment="Center" Text="Logout" />  
    </StackPanel>  
</Controls:HamburgerButtonInfo>



你可以在任何按钮上放置
菜单,更不用说汉堡按钮了。对不起,我不明白你的意思!!!。。。为什么要投否决票?
<Button>  
    <FontIcon FontFamily="Segoe MDL2 Assets" Glyph="&#xE700;" />  
    <Button.Flyout>  
        <MenuFlyout>  
            <MenuFlyoutItem Text="Some text"/>  
            <ToggleMenuFlyoutItem Text="Some text 2"/>  
            <ToggleMenuFlyoutItem Text="Some text 3"/>  
        </MenuFlyout>  
    </Button.Flyout>  
</Button>