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
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

SfTabView questions - Closing tabs & fit to width

Thread ID:





141915 Jan 10,2019 11:06 AM UTC Jan 11,2019 10:26 AM UTC Xamarin.Forms 1
Tags: SfTabView
Steve Keane
Asked On January 10, 2019 11:06 AM UTC


Can you answer a couple of questions:

1) Can you do close functionality like this https://help.syncfusion.com/uwp/sftabcontrol/close-and-scroll-button-functionalities#closing-a-tab-item

2) Can you fit the tabs to width of the container so 2 items the tabs are, 50% 3 items tabs are 33% etc etc


Mugundhan Saravanan [Syncfusion]
Replied On January 11, 2019 10:26 AM UTC

Hi Steve, 
Greetings from Syncfusion.

Query 1:  Close button support for tab item in Xamarin.Forms 
In our current implementation we don't have support for this. We are always trying to make our products better and feature requests like yours are a key part of our product growth efforts. We have added this feature request to our database. You can now track the current status of this feature request here  

At the planning stage for every release cycle, we review all open features and identify features for implementation based on specific parameters including product vision, technological feasibility, and customer interest. We will let you know when this feature is implemented.
Query 2: Fit the tab items to the width of the container 

We suggest you set "VisibleHeaderCount" property which displays the number of items to be shown in the view and it will helps to share the tab items space equally in the view. Please use the below code snippets for setting VisibleHeaderCount property. 
  <tabView:SfTabView x:Name="tabView" VisibleHeaderCount="3/> 
We have created the sample for your reference. Please have the sample from the below link with the output screenshot. 

Please try our sample and let us know if you have any clarifications on this. 
Mugundhan S. 


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