开发者

Set defaults for IsolatedStorageSettings.ApplicationSettings

Silverlight has IsolatedStorageSettings.ApplicationSettings.

I'm basically looking for an equivalent t开发者_如何学Goo AppSettings in ASP.NET where I can set defaults. How do I set defaults in an XAML file for ApplicationSettings?

The documentation doesnt explain how to.


You can do like these guys did and build a wrapper class that houses the defaults.

And here's a case where somebody used initialization parameters for that purpose:

http://msmvps.com/blogs/luisabreu/archive/2007/06/20/getting-your-initparams-from-managed-code.aspx

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜