开发者

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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜