public void updateContent() { flipView.Items.Clear(); Overflows.Clear(); TextBlock = new RichTextBlock(); TextBlock.Margin = new Thickness(50); TextBlock.Loaded += new RoutedEventHandler(textBlockLoaded); foreach (Block block in Chapter.GetBlocks()) { TextBlock.Blocks.Add(block); } flipView.Items.Add(TextBlock); }