We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: June 24, 2019).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Content and TabHeader in SfTabItem Not Displaying

Thread ID:

Created:

Updated:

Platform:

Replies:

146649 Aug 12,2019 06:21 PM UTC Aug 13,2019 11:07 AM UTC Xamarin.Forms 1
loading
Tags: SfTabView
Matthew Bailey
Asked On August 12, 2019 06:21 PM UTC

I'm working with an application using Xamarin Forms, and I've started transitioning to using SfTabView for my app content on one particular page.

The data I'm attempting to show is not a list, but rather a particular set of views. I've tried warpping them in a StackLayout, a ScrollView and an AbsoluteLayout but no matter what I try, I can't get anything to show although I can tell the TabView is being created since the background color is being displayed and my title is being populated based on my ViewModel.

<ContentPage.Content>
    <AbsoluteLayout
        HorizontalOptions="FillAndExpand"
        VerticalOptions="FillAndExpand">
        <tabView:SfTabView
            AbsoluteLayout.LayoutBounds="05.,0.5,1,1"
            AbsoluteLayout.LayoutFlags="All"
            BackgroundColor="Aqua"
            EnableSwiping="True"
            TabHeaderPosition="Bottom"
            SelectionChanged="Handle_SelectionChanged"
            VisibleHeaderCount="3"
            DisplayMode="Text">
            <tabView:SfTabItem Title="Details">
                <tabView:SfTabItem.Content>
                    <StackLayout >
                      // Content Here
                    </StackLayout>
                </tabView:SfTabItem.Content>
            </tabView:SfTabItem>
        </tabView.SfTabView>
    </AbsoluteLayout>
</ContentPage.Content>





Muneesh Kumar G [Syncfusion]
Replied On August 13, 2019 11:07 AM UTC

Hi Matthew, 
 
Greeting from Syncfusion.  
 
We have validated your query and tried to replicate the reported “Content and TabHeader in SfTabItem Not Displaying" issue at our end by created a sample based on provided code snippet in your update. But we were unable to reproduce it. Please find the sample from below link. 
 
 
Since we are not aware of your exact application scenario, so we request you to try our sample and can you please revert us by modifying the sample based on your application along with replication procedure. This will be helpful for us to investigate further and provide you a better solution at the earliest.  
  
Thanks,  
Muneesh Kumar G.  
 


CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

Live Chat Icon For mobile
Live Chat Icon