Binding to IsolatedStorageSettings
Binding={Binding Source={x:Static ...}}
doesn't seem to work, so my static wrapper class doesn't work.
How can we make a 开发者_JAVA百科two-way binding to a key in WP7 IsolatedStorageSettings
?
If anyone is wondering, I built a non-static class, which had non-static properties that were simply aliases for the static properties. I then made an instance of it, and added it as a resource to App.xaml, then bound against that resource. This also allows you to add properties like VisibleIfTrial etc.
精彩评论