Quantcast
Channel: Recent Threads — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 204402

Setting BackButtonTitle with Prism ?

$
0
0

Hi,

i have a Xamarin.Forms app using Prism. The main page is a MasterdetailPage with few buttons that navigate to other pages ... (still hamburger menu on the navigation bar) but when i navigate from those pages (now i have a classic navigation bar instead of hamburger) .. lets say to some item detail page i want to have a custom text next to the backbutton arrow.

I tried setting NavigationPage.BackButtonTitle in xaml of the MainPage but it doesnt work ..
If i try to set HasBackButton="False" .. the back button is replaced by Hamburger(?).

How can i change the backbuttontitle from viewmodel ?
Or how can i hide the burger menu ? and use TitleView ...

Also i noticed if i change the BackButtonTitle in the MasterDetail detailpage it changes the backbutton title on the ItemDetailPage too ...

Thanks for any advice


Viewing all articles
Browse latest Browse all 204402

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>