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

Separator between Items?

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

1 Reply

MK Muthu Kumaran Gnanavinayagam Syncfusion Team 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.

Live Chat Icon For mobile
Up arrow icon