SL5 custom XAML markup extension

A new thing in Silverlight 5 is the possibility, like in WPF, to make your own XAML markup extension. As we will see, it is very simple : you just have to create a class derived from MarkupExtension and override the ProvideValue method. Example: public class DateMarkup : MarkupExtension { public override object ProvideValue(IServiceProvider serviceProvider) [...]