Xamarin Forms: ContentPages in TabbedPage

前端 未结 3 1688
Happy的楠姐
Happy的楠姐 2021-01-05 06:40

I am trying to put some custom Content Pages into a Tabbed Page. Sadly I am not sure, how to do this with the XAML syntax. My dummy project looks like the following:

3条回答
  •  不知归路
    2021-01-05 07:14

    As on date today, it's not necessary to add "Children" property. If your Pages are in another directory say "PagesDirectory". You can reference the content page "Page1" as below, it will work absolutely fine:

     
    
    
    
    

提交回复
热议问题