internal TextBlock BindATextBlock()
{
var tb = new TextBlock();
tb.SetBinding(TextBlock.FontFamilyProperty,
new Binding { Path = new PropertyPath(FontFamilyProperty), Source = this });
tb.SetBinding(TextBlock.FontSizeProperty,
new Binding { Path = new PropertyPath(FontSizeProperty), Source = this });
tb.SetBinding(TextBlock.FontStretchProperty,
new Binding { Path = new PropertyPath(FontStretchProperty), Source = this });
tb.SetBinding(TextBlock.FontStyleProperty,
new Binding { Path = new PropertyPath(FontStyleProperty), Source = this });
tb.SetBinding(TextBlock.FontWeightProperty,
new Binding { Path = new PropertyPath(FontWeightProperty), Source = this });
tb.SetBinding(TextBlock.ForegroundProperty,
new Binding { Path = new PropertyPath(ForegroundProperty), Source = this });
return tb;
}