Skip to content

Instantly share code, notes, and snippets.

@hilapon
Created May 5, 2022 08:25
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save hilapon/347e11aaa53d20d4f2ad51bcf3e0b767 to your computer and use it in GitHub Desktop.
AppShell を編集
<?xml version="1.0" encoding="UTF-8" ?>
<Shell
x:Class="MauiApp5.AppShell"
xmlns="http://schemas.microsoft.com/dotnet/2021/maui"
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
xmlns:local="clr-namespace:MauiApp5"
Shell.FlyoutBehavior="Flyout">
<ShellContent Title="Hello, World!" ContentTemplate="{DataTemplate local:MainPage}" Route="MainPage" />
<ShellContent Title="Page1" ContentTemplate="{DataTemplate local:Page1}" Route="Page1" />
<ShellContent Title="Page2" ContentTemplate="{DataTemplate local:Page2}" Route="Page2" />
<ShellContent Title="Page3" ContentTemplate="{DataTemplate local:Page3}" Route="Page3" />
</Shell>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment