title: How to show a flow document using a DocumentViewer?
body: <p>I have a simple flow document in my resources, <code>FlowDocument1.xaml</code>:</p>
  
  <pre><code>&lt;FlowDocument xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
            ColumnWidth="400" FontSize="14" FontFamily="Georgia"&gt;
      &lt;Paragraph&gt;
          Test
      &lt;/Paragraph&gt;
  &lt;/FlowDocument&gt;
  </code></pre>
  
  <p>And I want to show this document in a <code>DocumentViewer</code>. I searched for a property that takes path but I couldn't find one. And the following throws an exception:</p>
  
  <pre><code>&lt;DocumentViewer x:Name="TestViewer" Document="Resources/FlowDocument1.xaml" /&gt;
  </code></pre>
  
  <p>How can I show <code>FlowDocument1.xaml</code> in a <code>DocumentViewer</code>?</p>