简体   繁体   中英

how to navigate from a content page to the second tab of Tabbed page in xamarin.forms using Prism

once user click on the search bar he/she directs to a model content page and after searching and selecting the search result. I want user to redirect to the second tab of a tabbed page. is this possible using prism ?

Navigation for TabbedPage s has been improved with Prism 7. Please see the blog post here

NavigateAsync(“TabbedPage?selectedTab=MiddleTab/ViewA/ViewB”)

This will navigate to the TabbedPage, selected the MiddleTab and continue navigating ViewA and ViewB onto the navigation stack.

The blog post ist not 100% clear, but don't take MiddleTab literally. Most likely this will be the class name of a view added to the TabbedPage .

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM