Is there any way to set the title of the back button outside of the constructor of a page? Whenever I set it inside the constructor it works perfectly fine, but if I try and set it inside a method it does not work.
My goal is to have the back button title programatically set. As an example, when I navigate to PageY from PageX I want the back button title to say "Cancel", but when I navigate to PageZ from PageX I want it to be the normal "Back"