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. Image for the cookie policy date

Content and TabHeader in SfTabItem Not Displaying

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>





1 Reply

MK Muneesh Kumar G Syncfusion Team 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.  
 


Loader.
Up arrow icon