views:

106

answers:

1

Silverlight has IsolatedStorageSettings.ApplicationSettings.

I'm basically looking for an equivalent to 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.

+2  A: 

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

Andy West
or should i be using a resource file?
Simon_Weaver