How to define the ItemTemplate in the Resources

2 posts, 0 answers
  1. FS
    FS avatar
    21 posts
    Member since:
    Mar 2012

    Posted 18 Jul 2017 Link to this post

    Hi:

    I am trying to set the DataTemplate in the xaml under the Resources without luck. It throws a native error.

    Do you have a sample about how to define the itemplate using Xaml.

    I was using this link without luck:

    https://developer.xamarin.com/guides/xamarin-forms/application-fundamentals/templates/data-templates/selector/

     

    Thanks in advance.

    David

     

     

  2. Stefan Nenchev
    Admin
    Stefan Nenchev avatar
    665 posts

    Posted 19 Jul 2017 Link to this post

    Hello David,

    I had no troubles achieving the desired behavior. Please have a look at the attached sample. Furthermore, I would like to inform you that the ItemTemplateSelector feature will be available for the next official release so it might be useful for you.

    Regards,
    Stefan Nenchev
    Progress Telerik
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Back to Top