I load the data from the network, and then using the library Html2Xaml generating XAML from the resulting HTML file and binds the resulting string to RichTextBlock.DataContext, but when you open the page is blank, what am I doing wrong?
<ScrollViewer VerticalScrollBarVisibility="Auto">
<RichTextBlock>
<RichTextBlock.DataContext>
{Binding Content}
</RichTextBlock.DataContext>
</RichTextBlock>
</ScrollViewer>
Content getting so variable:
var item = await SampleDataSource.GetItemAsync((String)e.NavigationParameter);
HtmlDocument link_page = new HtmlDocument();
link_page.LoadHtml(await LoadPage(item.UniqueId));
HtmlNode _table2 = link_page.GetElementbyId("main_body");
item.Content = Html2XamlConverter.Convert2Xaml(_table2.WriteContentTo());
//Content now looks like this: "<Paragraph LineStackingStrategy="MaxHeight">Процедурная генерация карты (часть 1)</Paragraph><Paragraph LineStackingStrategy="MaxHeight"></Paragraph><Paragraph LineStackingStrategy="MaxHeight">Автор: <Bold>Артем Гуревич</Bold></Paragraph><Paragraph LineStackingStrategy="MaxHeight">..."
this.DefaultViewModel["Item"] = item;