private static Style CreateStretchedContentStyle( )
{
var style = new Style(typeof(ContentControl));
style.Setters.Add(new Setter(Control.HorizontalContentAlignmentProperty, HorizontalAlignment.Stretch));
style.Setters.Add(new Setter(Control.VerticalContentAlignmentProperty, HorizontalAlignment.Stretch));
return style;
}
#endregion