Posted on: 1/9/2011 1:22:41 PM | Views : 699

Sometimes features get added to Silverlight without much fanfare.  One of those little hidden features is the ContentPropertyAttribute.  While this feature was added in Silverlight 3, I just noticed that it was there while working on a new control. 
Suppose you are building a control that contains a collection of items. In Silverlight 2, you had to do something like this:
<PB:Radar x:Name="MyRadar"> <PB:Radar.Blips Go to the complete details ...