According to your documentation the default node template in DataTemplateDictionary has key of empty string. The problem is that this generate a warning during XAML parsing.
Is it possible to have different value for default.
I can create a MarkupExtension that simply return empty string from the GetValue if not.
But <span =“Apple-style-span” style=": rgb248, 248, 252; ">DataTemplateDictionary.Default is of type DataTemplate and I need to set key of type String, usually.
Now the demo was constrained to be compatible with Silverlight 3, so the XAML is not completely defining the DataTemplateDictionary in XAML but partly in code.
For Silverlight 4 and WPF, you can move the other DataTemplate definitions into the DataTemplateDictionary in XAML: