This is a migrated thread and some comments may be shown as answers.

TabControl binded to a dynamic collection

1 Answer 35 Views
PersistenceFramework
This is a migrated thread and some comments may be shown as answers.
Mauro
Top achievements
Rank 1
Mauro asked on 27 Jun 2013, 03:05 PM
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

1 Answer, 1 is accepted

Sort by
0
Pavel R. Pavlov
Telerik team
answered on 02 Jul 2013, 10:07 AM
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 >>
Tags
PersistenceFramework
Asked by
Mauro
Top achievements
Rank 1
Answers by
Pavel R. Pavlov
Telerik team
Share this question
or