xamarin forms set navigation bar to false in viewmodel code example Example: hide navigation bar xaml // in ContentPage tag NavigationPage.HasNavigationBar="false"