July 2009 Entries
With all of the new features introduced in Silverlight 3, it’s easy to see how some features get very little coverage (or no coverage at all). The ItemContainerGenerator is one of those features. When building controls based upon the ItemsControl, there are many cases when you need to obtain the container for a particular item. To perform this task in Silverlight 2, you had to develop your own crude implementation of the ItemContainerGenerator. Fortunately for us, the ItemContainerGenerator is now baked right in! The ItemContainerGenerator for a particular ItemsControl is exposed by the ItemContainerGenerator property: ...
Right on the heels of the Silverlight 3 announcement, the 2009 Silverlight Control Builder Contest was just announced. The concept is simple, build a control using Silverlight and submit it to the site. The top 3 entries will win some really cool prizes!
Based on feedback gathered from last year, the contest is much improved:
The contest is world-wide this time!
Extended contest duration. This year, the contest lasts until September 19th, 2009 at 12 AM EDT.
Silverlight 3 entries are accepted (of course!)
Contest...
I noticed the other day that Storyboard has a SetTarget method, but it does not have a corresponding GetTarget method. So how can you find the target of a Timeline child? Fortunately, Storybard has a GetTargetName method, we can use this method to obtain the name of the target and then search parent container’s children for a matching child. Suppose we had the following code: <Grid x:Name="LayoutRoot">
<Grid.Resources>
...