Xamarin CustomtoolKit Navigating Page

Vasanthakumar M 251 Reputation points
2021-04-10T13:06:02.677+00:00

Hi Techie,
I try to use the Xamarin custom toolkit for the Tabview option. But I couldn't navigate the different pages like Home.XAML, Notification.XAML.

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,273 questions
C#
C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
10,098 questions
0 comments No comments
{count} votes

Accepted answer
  1. Cole Xia (Shanghai Wicresoft Co,.Ltd.) 6,751 Reputation points
    2021-04-12T02:15:35.237+00:00

    Hello,

    Welcome to Microsoft Q&A!

    Check TabViewItem.Content in this link , it only supports View not Page .

    Your can create a new ContentView and set as below .

       <xct:TabView  
                       TabStripPlacement="Bottom"  
                       TabStripBackgroundColor="Blue"  
                       TabStripHeight="60"  
                       TabIndicatorColor="Yellow"  
                       TabContentBackgroundColor="Yellow">  
         
                       <xct:TabViewItem  
                           Icon="triangle.png"  
                           Text="Tab 1"  
                           TextColor="White"  
                           TextColorSelected="Yellow"  
                           FontSize="12">  
                           <local : YourCustomContentView>  
                       </xct:TabViewItem>  
       </xct:TabView>  
    

    If the response is helpful, please click "Accept Answer" and upvote it.
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.


0 additional answers

Sort by: Most helpful