Please forgive my lack of understanding on how the Persistence Framework functions.
I have an application where I allow users to set what columns on a Grid View are visible or hidden. When they close the application, I want to save their preferences. When they open the application, I want to reload their preferences from the last time they used the program.
This seems like a good job for Persistence Framework. I began by looking at this WPF online help example:http://www.telerik.com/help/wpf/persistence-framework-getting-started.html
The code that saves my Grid View layout as a stream seems to be working, however, I'm having trouble reloading the layout once the application has been closed and re-opened. When I re-open the application my Stream object is nothing, so the PersistenceManager.Load method throws an error. I don't understand how to retrieve my saved Grid View Layout.
Can you describe how Persistence Framework functions, and help me understand how I retrieve and apply my saved Grid View layout?
Any assistance is greatly appreciated. Thank you.
I have an application where I allow users to set what columns on a Grid View are visible or hidden. When they close the application, I want to save their preferences. When they open the application, I want to reload their preferences from the last time they used the program.
This seems like a good job for Persistence Framework. I began by looking at this WPF online help example:http://www.telerik.com/help/wpf/persistence-framework-getting-started.html
The code that saves my Grid View layout as a stream seems to be working, however, I'm having trouble reloading the layout once the application has been closed and re-opened. When I re-open the application my Stream object is nothing, so the PersistenceManager.Load method throws an error. I don't understand how to retrieve my saved Grid View Layout.
Can you describe how Persistence Framework functions, and help me understand how I retrieve and apply my saved Grid View layout?
Any assistance is greatly appreciated. Thank you.