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

DataTemplateSelector for SfPopup

Can someone show an example of using a DataTemplateSelector in a SfPopup where the popup would show different dialogs based on the DataTemplateSelector?

1 Reply

Subburaj Pandian Veluchamy July 10, 2019 02:46 PM UTC

Hi John, 
 
Thank you for contacting Syncfusion support. 
 
We didn’t provide TemplateSelector support to Popup in Xamarin.Forms, since Popup View don’t have parent element we can directly set based on our requirement. If your requirement is show Popup with different UI with different scenario, you can directly set two different Popup content in the same.  

UG link: https://help.syncfusion.com/xamarin/sfpopuplayout/layout-customizations#customizing-popup-content 
 
Can you please elaborate your scenario of using TemplateSelector with your requirement in detail, it will be helpful for us to analyze the same and provide you the solution.  
 
Regards,
Subburaj Pandian V 

Loader.
Live Chat Icon For mobile
Up arrow icon