I can persist RadRibbonRadioButton selected state fine but it does not on restore execute the bound command. I'm trying to use the persistence manager to restore the UI, and as a result, restore the view model state.
Is this possible?
2 Answers, 1 is accepted
answered on 20 Jun 2018, 03:13 PM
Without some code I can't tell why the command is not executed. But note that you can execute it manually - for example:
Also, keep in mind that the persistence framework doesn't persists bindings. Instead it saves to concrete value of the specific property and then set it manually. This means that each binding that is explicitly set to OneWay no longer will work after the deserialization.
I hope that helps.
If you share some runnable code I could check what happens on my side and think of a solution.
Want to extend the target reach of your WPF applications, leveraging iOS, Android, and UWP? Try UI for Xamarin, a suite of polished and feature-rich components for the Xamarin framework, which allow you to write beautiful native mobile apps using a single shared C# codebase.
After leaning more about the persistence framework I think my question was silly. I have found it best to use the persistence framework for pure UI stuff and leave the domain to another persistence framework. The persistence streaming allows be save both together.