Geeks With Blogs
FOXJAZZ developing with .net

What I have learned in my project indevour for SL:

If you decide to make a singleton, don't include the singleton as a resource in your xaml directly.

Make a class that gets the singleton object, so that no matter how many class instantiations you have refereing to it in the pages that you want to create, you always get the signleton reference for binding your values.

 

Posted on Tuesday, July 17, 2012 2:55 AM | Back to top


Comments on this post: Silver light and binding.

# re: Silver light and binding.
Requesting Gravatar...
Good tips! I would consider applying this idea in my project. - Morgan Exteriors
Left by Stevie on Dec 02, 2016 2:27 PM

Your comment:
 (will show your gravatar)


Copyright © foxjazz | Powered by: GeeksWithBlogs.net