This little lolcat will show you a cool feature I discovered recently.
Using its ‘Tag’ property you can add metadata to a FrameworkElement (so practically every graphical element Silverlight provides) and read it out in code as a string.
Even better, you can set Tag property in design-time with Expression Blend support!
This is a start of my […]
Monthly Archives: April 2008
SilverBites 1: Adding metadata to Xaml in design-time
Data Binding in Silverlight and XamlParseException
Playing with data binding I had the System.Windows.Markup.XamlParseException whenever I ran my app.
It turns out the problem was putting a binding statement into a <Run … /> element. Silverlight supports data binding only on FrameworkElements and the Run class contrary to the Textblock is not a descendant.