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
close icon

Rounder corner for SFTabViews

Hi

can i have a rounded Corner Tabviews ? Please suggest 



1 Reply

HM Hemalatha Marikumar Syncfusion Team January 7, 2020 08:54 AM UTC

Hi Vinay,

Greetings from Syncfusion. 
 
Query: "can I have a rounded Corner Tabviews ?" 
 
Yes. But in SfTabView, we don't have direct support for this requirement, and we can achieve the same by adding the desired view inside the Syncfusion Border control in header view of TabItem as per in below code snippet.  
 
Code Snippet [XAML]: 
 <tabView:SfTabItem Title="Favorites">
     
   <tabView:SfTabItem.HeaderContent>
               <Grid>
                     <border:SfBorder
                                    x:Name="secondBorder"
                                    BorderColor="Black"
                                    HorizontalOptions="Center"
                                    VerticalOptions="Center"
                                    BorderWidth="2">
                          <Label
                                    Text="Item 2"
                                    Margin="10"
                                    Font="15"  />
                          </border:SfBorder>
                   </Grid>
         </tabView:SfTabItem.HeaderContent>
 </tabView:SfTabItem> 
 
To know more about border customization, please refer the below link 
 

Based on your requirement, we have prepared the sample which can be downloaded from below link  
 
 
Screenshot
 
 
Please check and let us know if you have any other concerns.  
 
Regards, 
Hemalatha M. 


Loader.
Live Chat Icon For mobile
Up arrow icon