From 69eed3e9cb9a5c092b93c6af654552b8d28f9b9f Mon Sep 17 00:00:00 2001 From: lodufour1 Date: Wed, 6 Sep 2023 15:01:49 +0200 Subject: [PATCH] Add (Vu_hommePage): Starting on Navigation & ToolbarItem --- BookApp/BookApp/AppShell.xaml | 7 ++-- BookApp/BookApp/AppShell.xaml.cs | 1 + BookApp/BookApp/MainPage.xaml | 58 +++++++++++++----------------- BookApp/BookApp/MainPage.xaml.cs | 30 +++++++++------- BookApp/BookApp/Pages/Tous.xaml | 13 +++++++ BookApp/BookApp/Pages/Tous.xaml.cs | 19 ++++++++++ 6 files changed, 81 insertions(+), 47 deletions(-) create mode 100644 BookApp/BookApp/Pages/Tous.xaml create mode 100644 BookApp/BookApp/Pages/Tous.xaml.cs diff --git a/BookApp/BookApp/AppShell.xaml b/BookApp/BookApp/AppShell.xaml index ffcf84e..d99b0d4 100644 --- a/BookApp/BookApp/AppShell.xaml +++ b/BookApp/BookApp/AppShell.xaml @@ -6,14 +6,17 @@ xmlns:local="clr-namespace:BookApp" Shell.FlyoutBehavior="Disabled"> + - + - + diff --git a/BookApp/BookApp/AppShell.xaml.cs b/BookApp/BookApp/AppShell.xaml.cs index 041df04..110b188 100644 --- a/BookApp/BookApp/AppShell.xaml.cs +++ b/BookApp/BookApp/AppShell.xaml.cs @@ -5,6 +5,7 @@ public AppShell() { InitializeComponent(); + Routing.RegisterRoute(nameof(Tous), typeof(Tous)); } } } \ No newline at end of file diff --git a/BookApp/BookApp/MainPage.xaml b/BookApp/BookApp/MainPage.xaml index b2934fb..342dc8d 100644 --- a/BookApp/BookApp/MainPage.xaml +++ b/BookApp/BookApp/MainPage.xaml @@ -3,39 +3,31 @@ xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml" x:Class="BookApp.MainPage"> - - + + + + + + + - - -