inraetemplate / INRAETemplate / AppShell.xaml.cs @ fa2aa88f
Historique | Voir | Annoter | Télécharger (602 octets)
1 |
using INRAETemplate.View; |
---|---|
2 |
using INRAETemplate.ViewModel; |
3 |
|
4 |
namespace INRAETemplate; |
5 |
[XamlCompilation(XamlCompilationOptions.Skip)] |
6 |
public partial class AppShell : Shell |
7 |
{ |
8 |
public AppShell() |
9 |
{ |
10 |
InitializeComponent(); |
11 |
this.BindingContext = new AppShellViewModel(); |
12 |
Routing.RegisterRoute(nameof(VivantView), typeof(VivantView)); |
13 |
Routing.RegisterRoute(nameof(VivantEditionView), typeof(VivantEditionView)); |
14 |
Routing.RegisterRoute(nameof(SettingsView), typeof(SettingsView)); |
15 |
Routing.RegisterRoute(nameof(AboutView), typeof(AboutView)); |
16 |
} |
17 |
|
18 |
} |