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
290
save/load state of controls inside DataTamplate
posted

Hello,

I'm evaluating the Persistence Framework and i have some questions.

I have attached a sample with a listview and a datatemplate in app with a xamDataGrid inside.

1) I'm saving the state of the listview but when I'm loading back the state, any actions made (e.g sorting) in the xamDataGrid is not loaded? How can this be achieved?

2) I have a two buttons in the sample to change the background of the item in the listview (using Solidcolorbrushes in App in order to have dark and a blue "theme"). If the state is saved and the theme is blue, when changing to dark and loading the state, the theme is still dark and to blue. How can i save this information too?

3) I'm using MVVM in my Application, is this gonna have any affect with the Persistence Framwork?

Thanks,

George

StatePersistenceIdentifierSample.zip