Home > OS >  Correct way to go Login page after logout?
Correct way to go Login page after logout?

Time:04-25

I'm using FlyOut, when I tapped the Logout (for example) the FlyOut menu is still showing when I screen swipe from left.

<FlyoutItem Title="Logout" >
    <Tab>
        <ShellContent ContentTemplate="{DataTemplate out:LoginPage}" />
    </Tab>
</FlyoutItem>

Is there any alternative to just show only the Login page?

CodePudding user response:

Put this on top in your LoginPage.xaml

Shell.FlyoutBehavior="Disabled"

And maybe this

 Shell.NavBarIsVisible="False"
  • Related