Nya förnster och navigering mellan dem
This commit is contained in:
@ -4,13 +4,40 @@
|
||||
xmlns="http://schemas.microsoft.com/dotnet/2021/maui"
|
||||
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
|
||||
xmlns:local="clr-namespace:AdventureWorks.MAUI"
|
||||
xmlns:views="clr-namespace:AdventureWorks.MAUI.Views"
|
||||
Title="Adventure Works"
|
||||
Shell.TitleColor="Blue"
|
||||
Shell.BackgroundColor="LightBlue">
|
||||
|
||||
<ShellContent
|
||||
Title="Home"
|
||||
ContentTemplate="{DataTemplate local:MainPage}"
|
||||
Route="MainPage" />
|
||||
|
||||
<TabBar>
|
||||
<ShellContent
|
||||
Title="Home"
|
||||
ContentTemplate="{DataTemplate local:MainPage}"
|
||||
Route="MainPage" />
|
||||
<ShellContent
|
||||
Title="Users"
|
||||
ContentTemplate="{DataTemplate views:UserListView}"
|
||||
Route="UserListView" />
|
||||
<ShellContent
|
||||
Title="Products"
|
||||
ContentTemplate="{DataTemplate views:ProductDetailView}"
|
||||
Route="ProductDetailView" />
|
||||
<ShellContent
|
||||
Title="Customerss"
|
||||
ContentTemplate="{DataTemplate views:CustomerDetailView}"
|
||||
Route="CustomerDetailView" />
|
||||
<Tab Title="Maintenance">
|
||||
<ShellContent
|
||||
Title="Colors"
|
||||
ContentTemplate="{DataTemplate views:ColorListView}"
|
||||
Route="ColorListView" />
|
||||
<ShellContent
|
||||
Title="Phone Types"
|
||||
ContentTemplate="{DataTemplate views:PhoneTypesListView}"
|
||||
Route="PhoneTypesListView" />
|
||||
</Tab>
|
||||
<ShellContent
|
||||
Title="Login"
|
||||
ContentTemplate="{DataTemplate views:LoginView}"
|
||||
Route="LoginView" />
|
||||
</TabBar>
|
||||
</Shell>
|
||||
|
||||
Reference in New Issue
Block a user