You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on May 1, 2024. It is now read-only.
Getting a reference to the current shell is tedious and repetitive. As the shell has to be the App.MainPage, we could expose a static version of GoToAsync() that tries to get the shell from there. If the shell is not found, an exception will be thrown.
If the user want to navigate on a shell that's not currently App.MainPage (multiple shell app, anyone ?) he can still keep a reference to that shell and use the non-static GoToAsync
Summary
Getting a reference to the current shell is tedious and repetitive. As the shell has to be the App.MainPage, we could expose a static version of
GoToAsync()
that tries to get the shell from there. If the shell is not found, an exception will be thrown.If the user want to navigate on a shell that's not currently App.MainPage (multiple shell app, anyone ?) he can still keep a reference to that shell and use the non-static GoToAsync
this is required for #4594
API Changes
Intended Use Case
replace this usage
by
The text was updated successfully, but these errors were encountered: