Recommended

  • Silverlight 4 Podcast Pack with Tim Heuer
  • Building Modular Silverlight Applications
  • Prism -  10 Things to Know
  • Securing Silverlight Application and WCF Service using ASP.Net Authentication Techniques
  • Model– View – ViewModel in Silverlight

More from Silverlight Show

  • Mike Wolf on Stop Motion with the Silverlight 4 Webcam
  • Fractal Koch Snowflakes in Silverlight
  • A Fiddler Plug-in for Inspecting WCF Binary Encoded Messages
  • Silverlight Pagination (DataPager)
  • Silverlight 4 WebCam zoom
Skip Navigation LinksHome / News / View News

Silverlight Custom Control & Collection Properties

+ Add to SilverlightShow Favorites
0 comments   /   posted by Silverlight Show on Nov 13, 2009
(0 votes)

Kevin Dockx discusses a problem with collection properties being shared with all instances of your controls.

Last week, I was helping out one of our clients with their Silverlight application.  An application which uses custom controls.  One of which contained a collection that seemed to behave as a singleton instead of on an instance level…  I remembered the problems I faced with this before, already thinking we wouldn’t find a solution to keep this collection dynamic.  However, I started searching around again, and lo and behold, it wasn’t long before I found this page on MSDN, describing the exact problem we were facing AND offering a reason and solution. 

Share


Comments

Comments RSS RSS
No comments

Add Comment

 
 

   
  
  
   
Please add 5 and 8 and type the answer here: