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

Binding group descriptions.

I am trying setup the grouping of a list view in xaml rather than doing it via code behind - so I can bind to the property name.

I have tried adding the following but get the error that DataSource is not found in SfListView.Xforms.

     <syncds:GroupDescriptor PropertyName="Address.Town"/>

1 Reply

GV Ganesan V Syncfusion Team November 29, 2016 05:46 PM UTC

Hi Richard,


Thanks for contacting Syncfusion Support. 


You can achieve your requirement like below code snippet,



  <sync:SfListView x:Name="listView"



                   ItemsSource="{Binding Customers}"






            <StackLayout BackgroundColor="Blue">

              <Label Text="{Binding Key}"/>










          <dataSource:GroupDescriptor PropertyName="Address.Town"/>








          <Label Text="{Binding Name}"/>







We have prepared the sample based on your requirement and you can download the same from the below link,




Please refer the UG documentation link below,





Ganesan V

Live Chat Icon For mobile
Up arrow icon