Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
405
Each Tile with different datacontext
posted

Is it possible to have a different DataContext for each Tile?

For example we have a List (Which contains a Key(string), Description(string) and a property called 'Data'(object)). Now bind this list to TileManager and show 'Description' property on each Tile, however when we expand the Tile I want to bind and show the details from the 'Data' property. The 'Data' property can be different for each item in the list.    

Parents
No Data
Reply
  • 138253
    Verified Answer
    Offline posted

    Hello,

     

    Thank you for your post. I have been looking into and I created a sample project for you with the functionality you want. Basically I used the XamTielsManager’s ItemTemplate, ItemTemplateMaximized, ItemTemplateMinimized to bind to the different Properties from the DataSource in the different Tile’s States. Please let me know if this helps you or you need further assistance on this matter.

     

    Looking forward for your reply.

    XamTilesManagerTemplates.zip
Children