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

Separator between Items?

Thread ID:





131645 Jul 20,2017 10:43 PM UTC Jul 24,2017 03:53 AM UTC Xamarin.Forms 1
Tags: SfListView
Asked On July 20, 2017 10:43 PM UTC

Is there a built in separator for sflisview to display between items and groupitems, just like XF listview has? 

Muthu Kumaran Gnanavinayagam [Syncfusion]
Replied On July 24, 2017 03:53 AM UTC

Hi Emil, 
Thank you for contacting Syncfusion Support. 
Currently we do not provide support for Separator as like in Xamarin forms ListView. But you can achieve your requirement by adding a frame for SfListView ItemTemplate to provide separator between Group items and List items. Please refer the code below for more information. 
Code Example[XAML]: 
<sync:SfListView x:Name="listView" ItemSize="70">      
    <DataTemplate x:Name="ItemTemplate"  x:Key="ItemTemplate"> 
          <RowDefinition Height="*" /> 
          <RowDefinition Height="1" /> 
            <RowDefinition Height="50" /> 
        <Label Text="{Binding SongTitle}" FontSize="18" /> 
      <Frame Grid.Row="1" OutlineColor="#E4E4E4" HasShadow="True" HeightRequest="1"/> 
For your reference we have attached the working sample link below, 
Please let us know if you require further assistance. 
G.Muthu Kumaran.


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