开发者

Set defaults for IsolatedStorageSettings.ApplicationSettings

开发者 https://www.devze.com 2022-12-14 07:08 出处:网络
Silverlight has IsolatedStorageSettings.ApplicationSettings. I\'m basically looking for an equivalent t开发者_如何学Goo AppSettings in ASP.NET where I can set defaults.

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

精彩评论

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