.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,895 questions
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
This is the code for my shell
<Shell
x:Class="DemyAI.AppShell"
xmlns="http://schemas.microsoft.com/dotnet/2021/maui"
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
xmlns:mct="http://schemas.microsoft.com/dotnet/2022/maui/toolkit"
xmlns:vm="clr-namespace:DemyAI.ViewModels"
x:Name="flyout"
Title="DemyAI"
x:DataType="vm:AppShellViewModel"
FlyoutBehavior="{OnIdiom Desktop=Locked,
Phone=Flyout}"
Shell.NavBarIsVisible="{OnIdiom Phone=True,
Desktop=False}"
Shell.TabBarIsVisible="False">
<Shell.FlyoutFooterTemplate>
<DataTemplate>
<Button
Margin="20"
Command="{Binding SignOutCommand}"
CornerRadius="8"
Text="Log out" />
</DataTemplate>
</Shell.FlyoutFooterTemplate>
</Shell>
ignore this
it was an emulator problem