WPF Handle links inside FlowDocument
问题 I'm building simple dictionary application using WPF. I'm using MVVM pattern, databinding and FlowDocument to display words to user. UI consists of 2 controls: ListBox and FlowDocumentScrollViewer. Dictionary data comes from XML file, format of this string may look like this <b>Word</b> - Some description. Another <i>description</i>. Reference <ref id="123">related word</ref> The order of HTML and reference elements is not defined. I parse HTML string, make it into XAML, then from XAML I