Replies: 2 comments
-
Environment: Xamarin 5, Shell application I ended up using TabView, add pages from code behind (not using .xaml for the pages). |
Beta Was this translation helpful? Give feedback.
-
Hi, I've managed to do what you've discussed here in an app in the past, it's closed source so no example code sadly, but you can bind the ItemsSource to a list in your viewmodel, then use TabContentDataTemplate to display properties on your models within the tabs. This example here shows you how to do it: https://github.com/xamarin/XamarinCommunityToolkit/blob/main/samples/XCT.Sample/Pages/Views/TabView/TabItemsSourcePage.xaml |
Beta Was this translation helpful? Give feedback.
-
I need to implement a Xamarin page with a tab view, with tab pages dymanically created.
I tried using TabPage, but I need extra content 8vaigation) at the bottom of the screen.
I think TabView is the control to use.
However, all the example I can find use a single .xaml page defining the TabView and static pages within.
Is there an example that would demonstrate how the tab pages / tab page template can be defined and how they work with the parent TabView?
Beta Was this translation helpful? Give feedback.
All reactions