question

OmerSorrenti-8730 avatar image
0 Votes"
OmerSorrenti-8730 asked ·

Community toolkit tabview

Hello,
I wanted to ask if it is possible with the new CommunityToolkit to Create a TabViewItem with a my ContentPage.

In TabbedPage i did it in this way:

 <NavigationPage>
  <x:Arguments>
                 <views:MyPageXXX />
  </x:Arguments>
 </NavigationPage>


Is it possible in some way with Tabview?



 <xct:TabViewItem
                     Icon="triangle.png"
                     Text="Tab 1"
                     TextColor="White"
                     TextColorSelected="Yellow"
                     FontSize="12">
                         ??????<views:MyPageXXX />????
 </xct:TabViewItem>



Thank you so much.

dotnet-xamarinforms-xaml
10 |1000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

alessandrocaliaro avatar image
0 Votes"
alessandrocaliaro answered ·

No, you can add views to tabview,!not pages

·
10 |1000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

OmerSorrenti-8730 avatar image
0 Votes"
OmerSorrenti-8730 answered ·

Thank you Alessandro,
do you have a link where I can see how to include a View to the tabview?
Thanks so much.

· 2 ·
10 |1000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

TabView you can find here some official samples


0 Votes 0 ·

Thank you so much

0 Votes 0 ·