Search code examples
xamlwindows-10uwpwindows-10-mobilesplitview

How to make a LoginPage with a SplitView Control?


I make a similar solution of SplitView like in a Microsoft Sample NavigationMenu

So i've got a question. How can i implement a LoginPage in project like this? I don't want to make loginPage with SplitView. I've tried to make splitview closed if my AppFrame is LoginPage, but seems like that solution is too awful.


Solution

  • In xaml you can overlay controls.

    Instead of having a login page, have a login control which overlays on top of everything when the user is invalidated.

    e.g. xaml

    <Grid>
       <LoginControl />
       <SplitView />
    </Grid>