mirror of
https://github.com/Nioux/AideDeJeu.git
synced 2025-11-01 16:05:42 +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"];
|
var bgtan = (Color)Resources["HDWhite"];
|
||||||
|
|
||||||
|
|
||||||
//MainPage = new MainShell();
|
MainPage = new MainShell();
|
||||||
var mainNavigationPage = new MainNavigationPage();
|
//var mainNavigationPage = new MainNavigationPage();
|
||||||
vm.Navigator = new Navigator(mainNavigationPage.Navigation);
|
//vm.Navigator = new Navigator(mainNavigationPage.Navigation);
|
||||||
MainPage = mainNavigationPage;
|
//MainPage = mainNavigationPage;
|
||||||
mainNavigationPage.Navigation.PushAsync(new MainPage());
|
//mainNavigationPage.Navigation.PushAsync(new MainPage());
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -3,10 +3,14 @@
|
||||||
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
|
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
|
||||||
xmlns:local="clr-namespace:AideDeJeu.Views"
|
xmlns:local="clr-namespace:AideDeJeu.Views"
|
||||||
x:Class="AideDeJeu.Views.MainShell">
|
x:Class="AideDeJeu.Views.MainShell">
|
||||||
|
<Shell.FlyoutHeader>
|
||||||
|
<ListView>
|
||||||
|
|
||||||
|
</ListView>
|
||||||
|
</Shell.FlyoutHeader>
|
||||||
<ShellItem>
|
<ShellItem>
|
||||||
<ShellSection>
|
<ShellSection>
|
||||||
<ShellContent>
|
<ShellContent Title="Main" ContentTemplate="{DataTemplate local:MainPage}">
|
||||||
<local:MainPage/>
|
|
||||||
</ShellContent>
|
</ShellContent>
|
||||||
</ShellSection>
|
</ShellSection>
|
||||||
</ShellItem>
|
</ShellItem>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue