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

ListView Conversation UI

Is it possible to use the ListView control to create a conversational UI? 

1 Reply

DB Dinesh Babu Yadav Syncfusion Team June 27, 2017 05:16 AM UTC

Hi Raymond, 
 
Thank you for using Syncfusion Products. 
 
The reported requirement “Conversational UI using SfListView” can be achieved by using DataTemplateSelector. SfListView lets you customize the appearance of each item with different templates based on specific constraints using DataTemplateSelector. You can choose a DataTemplate for each item at runtime based on the value of a data-bound property using DataTemplateSelector. The following UG documentation link illustrates you to define the different templates for each item in the underlying collection. Also, you can find the sample in the below UG documentation for more reference. 
 
 
Please let us know if you require further assistance. 
 
Regards, 
Dinesh Babu Yadav 
 


Loader.
Up arrow icon