private static void InitializeStringContentTemplate()
{
DataTemplate template;
FrameworkElementFactory text;
// Default template for strings
template = new DataTemplate();
text = new FrameworkElementFactory(typeof(TextBlock));
text.SetValue(TextBlock.TextProperty, new TemplateBindingExtension(ContentPresenter.ContentProperty));
template.VisualTree = text;
template.Seal();
s_StringTemplate = template;
}