0

I wish to customize the default direction(sideways) that is used for navigating between the pages and instead use top or bottom directions for page navigations in .NET MAUI, is it possible?

I have not found any articles which support that this can be done.

  • 2
    Hi, please explain more and better what you're trying to archive. – FabriBertani May 11 '23 at 15:50
  • If you mean page transition like [this in Xamarin](https://github.com/jsuarezruiz/xamarin-forms-page-transitions), check [this thread](https://stackoverflow.com/questions/74973199/net-maui-navigation-animation) and follow [this spec](https://github.com/dotnet/maui/issues/6). – Shaw May 11 '23 at 22:08
  • If you are trying to change the "swipe" direction, that might be problematic. Mobile platforms don't usually swipe up/down to change pages, because up/down is used to scroll content that is taller than the device screen. Are you designing your pages so that they always exactly fill the screen, regardless of device size? – ToolmakerSteve May 11 '23 at 22:39
  • If you want to navigate between the pages by the swip left and right, you can use the SwipeGestureRecognizer for the layout in the contentpage. – Liyun Zhang - MSFT May 16 '23 at 07:35

0 Answers0