TabControl binded to a dynamic collection

2 posts, 0 answers
  1. Mauro
    Mauro avatar
    10 posts
    Member since:
    Nov 2011

    Posted 27 Jun 2013 Link to this post

    Are there some examples or hints to use the PersistenceFramework on a RadTabControl binded to a collection of the view model?
    I would have to persiste the tabs and their contents.

    Thanks in advance
    Mauro
  2. Pavel R. Pavlov
    Admin
    Pavel R. Pavlov avatar
    1182 posts

    Posted 02 Jul 2013 Link to this post

    Hello Mauro,

    Let me make a quick clarification. The PersistanceFramework is designed to persist control specific properties, only. Basically, you are not allowed to persist properties defined in your View-Model because you can use different approaches to save your View-Models.

    Regarding the implementation, it is straightforward and you can use one of the approaches described in this article. Furthermore, you can take a look at this online demonstration project and see how we implemented the ICustomPropertyProvider in order to implement custom persist logic.

    Furthermore, you can find ready to run projects, that can be used as start-up projects, in our XAML SDK.

    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