© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
C#C
C#•11mo ago
Crumble

How to hide Back Button in Maui 8 Appshell

ok again a tiny little thing that should be a single line of code is driving me nuts, how do i disable the damn back button that appears at the top left of the window?

i have tried
Shell.NavBarIsVisible="False"
Shell.NavBarIsVisible="False"
in App.xaml, appshell.xaml and i have tried doing it with code in appshell.xaml.cs
protected override void OnNavigating(ShellNavigatingEventArgs args)
    {
        base.OnNavigating(args);
        
        Shell.SetBackButtonBehavior(this, new BackButtonBehavior
        {
            IsVisible = false
        });
    }
protected override void OnNavigating(ShellNavigatingEventArgs args)
    {
        base.OnNavigating(args);
        
        Shell.SetBackButtonBehavior(this, new BackButtonBehavior
        {
            IsVisible = false
        });
    }
C# banner
C#Join
We are a programming server aimed at coders discussing everything related to C# (CSharp) and .NET.
61,871Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

MAUI - Click event not found refered in AppShell.xaml.cs
C#CC# / help
2y ago
MAUI - Weird footer and header when changing from NavigationPage to AppShell
C#CC# / help
4y ago
✅ [.NET MAUI] Customize Back button appearance on windows platform.
C#CC# / help
3y ago
MAUI - Package upgrade to .NET 8
C#CC# / help
2y ago