You could use a Modal page to accomplish this. In the page you are navigating to, set the property Shell.PressentationMode="ModalAnimated"
. Here's an example of setting that property in the style:
<Style TargetType="base:BaseModalPage" ApplyToDerivedTypes="True"> <!-- Just a custom Page Type I created -->
<Setter Property="BackgroundColor" Value="{StaticResource BackgroundTranslucentColor}" />
<Setter Property="Padding" Value="{StaticResource ModalPaddingThickness}" />
<Setter Property="Shell.PresentationMode" Value="ModalAnimated" />
</Style>
When you navigate with Shell.Current.GoToAsync(...)
, it will push on the stack modally, which will show the previous page behind it if the page is translucent.
Here's a blog post about navigating modally with shell: https://devblogs.microsoft.com/xamarin/xamarin-forms-shell-quick-tip-modal-navigation/