tag:blogger.com,1999:blog-6822536077160579260.post717608794869225910..comments2023-06-05T14:25:52.227+01:00Comments on Sound Code: Converting SilverNibbles to Silverlight 2.0 beta 1Anonymoushttp://www.blogger.com/profile/17900587357903273800noreply@blogger.comBlogger2125tag:blogger.com,1999:blog-6822536077160579260.post-79804957700796483712008-04-24T21:28:00.000+01:002008-04-24T21:28:00.000+01:00glad it helped you! and yes, your way avoids the a...glad it helped you! and yes, your way avoids the awkward look to the codeAnonymoushttps://www.blogger.com/profile/17900587357903273800noreply@blogger.comtag:blogger.com,1999:blog-6822536077160579260.post-83635350619714837792008-04-24T21:21:00.000+01:002008-04-24T21:21:00.000+01:00Thanks for this blog. I couldn't figure out why my...Thanks for this blog. I couldn't figure out why my PolyLine wasn't updating on the screen until I found this blog.<BR/><BR/>It makes a twisted sort of sense. The points property is a DependancyProperty and I imagine internally the fact that it's been updated is only recognized when you set that property. Manually modifying the contents of the collection is not seen. Very counterintuitive.<BR/><BR/>The approach I took was to create a new PointCollection object. Add my new points to it. Then set the Points property of my PolyLine object to the new PointCollection. Seemed a little cleaner than updating the existing collection and setting it equal to itself.Darylhttps://www.blogger.com/profile/16066756037637345997noreply@blogger.com