private ContentControl createPageContent(object content)
 {
     ContentControl pageContent = new ContentControl()
     {
         Content = content,
         Style = ResourceUtility.LoadEmbeddedStyle("Themes/GPContentStyle.xaml", "GPContentStyle"),
         DataContext = configuration,
         HorizontalAlignment = HorizontalAlignment.Stretch,
         HorizontalContentAlignment = HorizontalAlignment.Stretch
     };
     pageContent.EnforceForegroundOnChildTextBlocks();
     return pageContent;
 }