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 disable scrolling

Thread ID:





145211 Jun 12,2019 01:49 PM UTC Jun 13,2019 08:49 AM UTC Xamarin.iOS 1
Tags: SfTabView
Asked On June 12, 2019 01:49 PM UTC

I can scroll through the sftabview headers. How can i disable for headers only not the tabeitem.

I tried using property "EnableSwipe" to false. But it then disables the swiping for tab contents also.

I just want to disable swiping of the headers

Please refer the attachment for the same

Attachment: Jun_12_2019_2_44_PM_383fe2e7.zip

Muneesh Kumar G [Syncfusion]
Replied On June 13, 2019 08:49 AM UTC

Hi Deepa, 
Greetings from Syncfusion. 
Query: How can I disable for headers only not the tab item. 
We have validated your query and currently, we don't have support to disable the scrolling in headers.  
We suggest you to disable the scrolling of header by setting overflow-mode as drop down as per the below code snippet. 
Code snippet 
<tabView:SfTabView OverflowMode="DropDown" VisibleHeaderCount="3" BackgroundColor="Aqua"> 
Please refer below user documentation for more details about OverflowMode.  
Also, you can also set OverflowMode as CenterButton as per the below code snippet. By using this mode, you can able to see all tabs within the view.  
Code snippet 
<tabView:SfTabView OverflowMode="CenterButton" 
Please let us know if you have any queries. 
Muneesh Kumar G 


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