mirror of
https://github.com/Nioux/AideDeJeu.git
synced 2025-10-29 14:35:45 +00:00
Test shell
This commit is contained in:
parent
8fbc11bb5e
commit
ad08fcf4d3
2 changed files with 11 additions and 7 deletions
|
|
@ -29,11 +29,11 @@ namespace AideDeJeu
|
|||
var bgtan = (Color)Resources["HDWhite"];
|
||||
|
||||
|
||||
//MainPage = new MainShell();
|
||||
var mainNavigationPage = new MainNavigationPage();
|
||||
vm.Navigator = new Navigator(mainNavigationPage.Navigation);
|
||||
MainPage = mainNavigationPage;
|
||||
mainNavigationPage.Navigation.PushAsync(new MainPage());
|
||||
MainPage = new MainShell();
|
||||
//var mainNavigationPage = new MainNavigationPage();
|
||||
//vm.Navigator = new Navigator(mainNavigationPage.Navigation);
|
||||
//MainPage = mainNavigationPage;
|
||||
//mainNavigationPage.Navigation.PushAsync(new MainPage());
|
||||
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -3,10 +3,14 @@
|
|||
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
|
||||
xmlns:local="clr-namespace:AideDeJeu.Views"
|
||||
x:Class="AideDeJeu.Views.MainShell">
|
||||
<Shell.FlyoutHeader>
|
||||
<ListView>
|
||||
|
||||
</ListView>
|
||||
</Shell.FlyoutHeader>
|
||||
<ShellItem>
|
||||
<ShellSection>
|
||||
<ShellContent>
|
||||
<local:MainPage/>
|
||||
<ShellContent Title="Main" ContentTemplate="{DataTemplate local:MainPage}">
|
||||
</ShellContent>
|
||||
</ShellSection>
|
||||
</ShellItem>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue