save tileview item position in Prism framework

2 posts, 0 answers
  1. Sam
    Sam avatar
    10 posts
    Member since:
    Dec 2013

    Posted 20 Dec 2013 Link to this post

    Hello;

    I am working with telerik WPF tileview and Prism framework to generate a dashboard with different views content in large, small & normal view.
    I would like to save the position of the tile view if the user reorder the different views so that this order is used in the next connexion. How to do that ? I search many posts and the given solutions are quite simples since they deal with tileview without prism framework.
    Please let me know if it is possible to do this in my context  ?

    Thanks
  2. Pavel R. Pavlov
    Admin
    Pavel R. Pavlov avatar
    1182 posts

    Posted 25 Dec 2013 Link to this post

    Hi Sam,

    You can expose a property in the ViewModel that is injected into your Shell. Furthermore, you can bind the Position property of the RadTileViewItem control to that property using a Style (in the Shell). By following this approach the RadTileViewItem will be aware of its position and you will be able to preserve it using your ViewModel defined in the Module.

    For your convenience I created a sample solution demonstrating the described approach. Please take a look at it and let us know if you need any further assistance.

    Regards,
    Pavel R. Pavlov
    Telerik
    TRY TELERIK'S NEWEST PRODUCT - EQATEC APPLICATION ANALYTICS for WPF.
    Learn what features your users use (or don't use) in your application. Know your audience. Target it better. Develop wisely.
    Sign up for Free application insights >>
  3. UI for WPF is Visual Studio 2017 Ready
Back to Top