Forum General


The Xamarin Forums have officially moved to the new Microsoft Q&A experience. Microsoft Q&A is the home for technical questions and answers at across all products at Microsoft now including Xamarin!

To create new threads and ask questions head over to Microsoft Q&A for .NET and get involved today.

how can I disable back/navigate button in Title bar UWP app page extend MvxWindowsPage?

vinothswamivinothswami Member ✭✭✭

I am using MvxWindowsPage

UWP app showing Navigate/back button as default whereas I have created on my own. I don't need the back button in the title bar.

I tired
var currentView = Windows.UI.Core.SystemNavigationManager.GetForCurrentView();
currentView.AppViewBackButtonVisibility = Windows.UI.Core.AppViewBackButtonVisibility.Collapsed;

in the OnNavigatedTo but it's not at all working.

And I tried, below codes in app.xaml.cs it is also not working.

            //SystemNavigationManager.GetForCurrentView().BackRequested += OnBackRequested;

            //SystemNavigationManager.GetForCurrentView().AppViewBackButtonVisibility =
            //    rootFrame.CanGoBack ?
            //    AppViewBackButtonVisibility.Visible :
            //    AppViewBackButtonVisibility.Collapsed;


Sign In or Register to comment.