Silverlight Gotcha Of The Day

If you have an Item­sCon­trol that is throw­ing an excep­tion telling you the col­lec­tion is read-only when you call Clear() on the Items prop­erty before reset­ting the data bind­ing, try set­ting the ItemsSource prop­erty to null instead.

No Comments

Leave a Reply

Your email is never shared.Required fields are marked *