UWP Frame.GoBack with argument

Viewed 1388

The scenario is I have a calendar page, the page displays all days of the month with an Add button on each day:

As I click the add button it takes me to a different page, if the user taps the hardware back button I want the app to go back to the calendar page but I want the page scrolled to the date the user originally tapped the add button for.

The scrolling to the date is fine - If, as a test, I navigate to a page with NavigationEventArgs.Parameter = "2016-01-17" then my page scrolls to the 17th.

The problem I have is that I don't seem to be able to specify a parameter on the rootFrame.GoBack(); call.

So, is there a way to specify a parameter on the rootFrame.GoBack(); call manually edit the backbuttonstack - if there is such a thing - so that the required argument is there.

1 Answers
Related